Index: components/web_cache/browser/web_cache_manager.h |
diff --git a/chrome/browser/renderer_host/web_cache_manager.h b/components/web_cache/browser/web_cache_manager.h |
similarity index 97% |
rename from chrome/browser/renderer_host/web_cache_manager.h |
rename to components/web_cache/browser/web_cache_manager.h |
index b7a59091b9d9002a7f5034ebe32390d29134741b..7457c7f9d5715e4a2e575274cb2c487e17b25159 100644 |
--- a/chrome/browser/renderer_host/web_cache_manager.h |
+++ b/components/web_cache/browser/web_cache_manager.h |
@@ -5,8 +5,8 @@ |
// This is the browser side of the cache manager, it tracks the activity of the |
// render processes and allocates available memory cache resources. |
-#ifndef CHROME_BROWSER_RENDERER_HOST_WEB_CACHE_MANAGER_H_ |
-#define CHROME_BROWSER_RENDERER_HOST_WEB_CACHE_MANAGER_H_ |
+#ifndef COMPONENTS_WEB_CACHE_BROWSER_WEB_CACHE_MANAGER_H_ |
+#define COMPONENTS_WEB_CACHE_BROWSER_WEB_CACHE_MANAGER_H_ |
#include <list> |
#include <map> |
@@ -25,6 +25,8 @@ template<typename Type> |
struct DefaultSingletonTraits; |
class PrefRegistrySimple; |
+namespace web_cache { |
+ |
class WebCacheManager : public content::NotificationObserver { |
friend class WebCacheManagerTest; |
FRIEND_TEST_ALL_PREFIXES(WebCacheManagerBrowserTest, CrashOnceOnly); |
@@ -219,4 +221,6 @@ class WebCacheManager : public content::NotificationObserver { |
DISALLOW_COPY_AND_ASSIGN(WebCacheManager); |
}; |
-#endif // CHROME_BROWSER_RENDERER_HOST_WEB_CACHE_MANAGER_H_ |
+} // namespace web_cache |
+ |
+#endif // COMPONENTS_WEB_CACHE_BROWSER_WEB_CACHE_MANAGER_H_ |