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

Unified Diff: base/containers/scoped_ptr_hash_map.h

Issue 23653002: Move ScopedPtrHashMap from cc to base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jam's comment Created 7 years, 4 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 | « base/base.gypi ('k') | cc/base/scoped_ptr_hash_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/containers/scoped_ptr_hash_map.h
diff --git a/cc/base/scoped_ptr_hash_map.h b/base/containers/scoped_ptr_hash_map.h
similarity index 95%
rename from cc/base/scoped_ptr_hash_map.h
rename to base/containers/scoped_ptr_hash_map.h
index 47135822d2da78eb55e545e194d225631307d2b0..7fbbbe2a708d9d13b40f0623c10aed1161596c04 100644
--- a/cc/base/scoped_ptr_hash_map.h
+++ b/base/containers/scoped_ptr_hash_map.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CC_BASE_SCOPED_PTR_HASH_MAP_H_
-#define CC_BASE_SCOPED_PTR_HASH_MAP_H_
+#ifndef BASE_CONTAINERS_SCOPED_PTR_HASH_MAP_H_
+#define BASE_CONTAINERS_SCOPED_PTR_HASH_MAP_H_
#include <algorithm>
#include <utility>
@@ -14,7 +14,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/stl_util.h"
-namespace cc {
+namespace base {
// This type acts like a hash_map<K, scoped_ptr<V> >, based on top of
// base::hash_map. The ScopedPtrHashMap has ownership of all values in the data
@@ -152,6 +152,6 @@ class ScopedPtrHashMap {
DISALLOW_COPY_AND_ASSIGN(ScopedPtrHashMap);
};
-} // namespace cc
+} // namespace base
-#endif // CC_BASE_SCOPED_PTR_HASH_MAP_H_
+#endif // BASE_CONTAINERS_SCOPED_PTR_HASH_MAP_H_
« no previous file with comments | « base/base.gypi ('k') | cc/base/scoped_ptr_hash_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698