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

Unified Diff: chrome/browser/extensions/install_verifier_factory.h

Issue 1127133006: Extract InstallVerifier from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/install_verifier_factory.h
diff --git a/chrome/browser/extensions/error_console/error_console_factory.h b/chrome/browser/extensions/install_verifier_factory.h
similarity index 50%
copy from chrome/browser/extensions/error_console/error_console_factory.h
copy to chrome/browser/extensions/install_verifier_factory.h
index 740be0ed623797aa6f7ad15bef6699b717082782..09be4200fc7399521ab755630eeb4bb2413bdb9d 100644
--- a/chrome/browser/extensions/error_console/error_console_factory.h
+++ b/chrome/browser/extensions/install_verifier_factory.h
@@ -2,26 +2,27 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_FACTORY_H_
-#define CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_FACTORY_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_VERIFIER_FACTORY_H_
+#define CHROME_BROWSER_EXTENSIONS_INSTALL_VERIFIER_FACTORY_H_
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
namespace extensions {
-class ErrorConsole;
+class InstallVerifier;
-class ErrorConsoleFactory : public BrowserContextKeyedServiceFactory {
+class InstallVerifierFactory : public BrowserContextKeyedServiceFactory {
public:
- static ErrorConsole* GetForBrowserContext(content::BrowserContext* context);
- static ErrorConsoleFactory* GetInstance();
+ static InstallVerifier* GetForBrowserContext(
+ content::BrowserContext* context);
+ static InstallVerifierFactory* GetInstance();
private:
- friend struct DefaultSingletonTraits<ErrorConsoleFactory>;
+ friend struct DefaultSingletonTraits<InstallVerifierFactory>;
- ErrorConsoleFactory();
- ~ErrorConsoleFactory() override;
+ InstallVerifierFactory();
+ ~InstallVerifierFactory() override;
// BrowserContextKeyedServiceFactory implementation
KeyedService* BuildServiceInstanceFor(
@@ -29,9 +30,9 @@ class ErrorConsoleFactory : public BrowserContextKeyedServiceFactory {
content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override;
- DISALLOW_COPY_AND_ASSIGN(ErrorConsoleFactory);
+ DISALLOW_COPY_AND_ASSIGN(InstallVerifierFactory);
};
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_FACTORY_H_
+#endif // CHROME_BROWSER_EXTENSIONS_INSTALL_VERIFIER_FACTORY_H_
« no previous file with comments | « chrome/browser/extensions/install_verifier.cc ('k') | chrome/browser/extensions/install_verifier_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698