1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef WEAK_PTR_FACTORY_H_ 6 #define WEAK_PTR_FACTORY_H_ 7 8 namespace base { 9 10 template <typename T> 11 class WeakPtrFactory { 12 public: 13 explicit WeakPtrFactory(T*) {} 14 }; 15 16 } // namespace base 17 18 #endif // WEAK_PTR_FACTORY_H_ 19