| // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #ifndef CHROME_COMMON_REF_COUNTED_UTIL_H__ |
| #define CHROME_COMMON_REF_COUNTED_UTIL_H__ |
| #include "base/memory/ref_counted.h" |
| // RefCountedVector is just a vector wrapped up with |
| : public base::RefCountedThreadSafe<RefCountedVector<T> > { |
| explicit RefCountedVector(const std::vector<T>& initializer) |
| DISALLOW_COPY_AND_ASSIGN(RefCountedVector<T>); |
| #endif // CHROME_COMMON_REF_COUNTED_UTIL_H__ |