| 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..b1fe7a75de64639381c0aae490ae4f0d60afa66c 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,13 +25,13 @@ template<typename Type>
|
| struct DefaultSingletonTraits;
|
| class PrefRegistrySimple;
|
|
|
| +namespace web_cache {
|
| +
|
| class WebCacheManager : public content::NotificationObserver {
|
| friend class WebCacheManagerTest;
|
| FRIEND_TEST_ALL_PREFIXES(WebCacheManagerBrowserTest, CrashOnceOnly);
|
|
|
| public:
|
| - static void RegisterPrefs(PrefRegistrySimple* registry);
|
| -
|
| // Gets the singleton WebCacheManager object. The first time this method
|
| // is called, a WebCacheManager object is constructed and returned.
|
| // Subsequent calls will return the same object.
|
| @@ -219,4 +219,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_
|
|
|