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

Unified Diff: chrome/browser/extensions/updater/extension_cache_impl.h

Issue 612423003: Move ExtensionCache to //extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test setup Created 6 years, 2 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: chrome/browser/extensions/updater/extension_cache_impl.h
diff --git a/chrome/browser/extensions/updater/extension_cache_impl.h b/chrome/browser/extensions/updater/extension_cache_impl.h
index 444d455ec3c20a8a206cbce064cbbc2022dc69fa..b541d5dfaf16c30f9cea808e39da9a3faff5a8b2 100644
--- a/chrome/browser/extensions/updater/extension_cache_impl.h
+++ b/chrome/browser/extensions/updater/extension_cache_impl.h
@@ -13,9 +13,9 @@
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
-#include "chrome/browser/extensions/updater/extension_cache.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "extensions/browser/updater/extension_cache.h"
template <typename T> struct DefaultSingletonTraits;
@@ -28,7 +28,8 @@ class LocalExtensionCache;
class ExtensionCacheImpl : public ExtensionCache,
public content::NotificationObserver {
public:
- static ExtensionCacheImpl* GetInstance();
+ ExtensionCacheImpl();
+ virtual ~ExtensionCacheImpl();
// Implementation of ExtensionCache.
virtual void Start(const base::Closure& callback) override;
@@ -48,11 +49,6 @@ class ExtensionCacheImpl : public ExtensionCache,
const content::NotificationDetails& details) override;
private:
- friend struct DefaultSingletonTraits<ExtensionCacheImpl>;
-
- ExtensionCacheImpl();
- virtual ~ExtensionCacheImpl();
-
// Callback that is called when local cache is ready.
void OnCacheInitialized();
« no previous file with comments | « chrome/browser/extensions/updater/extension_cache_fake.cc ('k') | chrome/browser/extensions/updater/extension_cache_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698