Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1434)

Unified Diff: base/memory/scoped_callback_factory.h

Issue 6714032: Move some files in base to base/memory. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: only base Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/memory/scoped_callback_factory.h
diff --git a/base/scoped_callback_factory.h b/base/memory/scoped_callback_factory.h
similarity index 95%
rename from base/scoped_callback_factory.h
rename to base/memory/scoped_callback_factory.h
index a2fc1f065468f4ffca763b82500f3167b23a8a78..815e67cded19fd9b64814b7bb913d88a82313540 100644
--- a/base/scoped_callback_factory.h
+++ b/base/memory/scoped_callback_factory.h
@@ -33,11 +33,11 @@
// callback runs, it will notice that the MyClass instance is dead, and it will
// avoid calling the GotData method.
-#ifndef BASE_SCOPED_CALLBACK_FACTORY_H_
-#define BASE_SCOPED_CALLBACK_FACTORY_H_
+#ifndef BASE_MEMORY_SCOPED_CALLBACK_FACTORY_H_
+#define BASE_MEMORY_SCOPED_CALLBACK_FACTORY_H_
#include "base/callback.h"
-#include "base/weak_ptr.h"
+#include "base/memory/weak_ptr.h"
namespace base {
@@ -130,4 +130,4 @@ class ScopedCallbackFactory {
} // namespace base
-#endif // BASE_SCOPED_CALLBACK_FACTORY_H_
+#endif // BASE_MEMORY_SCOPED_CALLBACK_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698