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

Unified Diff: base/containers/scoped_ptr_map.h

Issue 1194373002: Moved ScopedPtrMap into base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@jianli-gcm_client_impl
Patch Set: Rebase and update against media_galleries. Created 5 years, 6 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
« no previous file with comments | « no previous file | base/containers/scoped_ptr_map_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/containers/scoped_ptr_map.h
diff --git a/base/containers/scoped_ptr_map.h b/base/containers/scoped_ptr_map.h
index 259076f3b15a7497f10f462b06ef0fa90a05bbc3..a4605e3b68877a2d8585552573d1603c75bdd7f6 100644
--- a/base/containers/scoped_ptr_map.h
+++ b/base/containers/scoped_ptr_map.h
@@ -14,6 +14,8 @@
#include "base/move.h"
#include "base/stl_util.h"
+namespace base {
+
// ScopedPtrMap provides a std::map that supports scoped_ptr values. It ensures
// that the map's values are properly deleted when removed from the map, or when
// the map is destroyed.
@@ -137,4 +139,6 @@ class ScopedPtrMap {
};
};
+} // namespace base
+
#endif // BASE_CONTAINERS_SCOPED_PTR_MAP_H_
« no previous file with comments | « no previous file | base/containers/scoped_ptr_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698