| Index: tools/clang/plugins/tests/weak_ptr_factory.h
|
| diff --git a/tools/clang/plugins/tests/weak_ptr_factory.h b/tools/clang/plugins/tests/weak_ptr_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7aebfc53839cc7a089a3fdd8e1cfb42839a4af68
|
| --- /dev/null
|
| +++ b/tools/clang/plugins/tests/weak_ptr_factory.h
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2013 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 WEAK_PTR_FACTORY_H_
|
| +#define WEAK_PTR_FACTORY_H_
|
| +
|
| +namespace base {
|
| +
|
| +template <typename T>
|
| +class WeakPtrFactory {
|
| + public:
|
| + explicit WeakPtrFactory(T*) {}
|
| +};
|
| +
|
| +} // namespace base
|
| +
|
| +#endif // WEAK_PTR_FACTORY_H_
|
|
|