| Index: chrome/browser/extensions/error_console/error_console_factory.h
|
| diff --git a/extensions/browser/warning_service_factory.h b/chrome/browser/extensions/error_console/error_console_factory.h
|
| similarity index 50%
|
| copy from extensions/browser/warning_service_factory.h
|
| copy to chrome/browser/extensions/error_console/error_console_factory.h
|
| index 28786969e50e2889b520a7fb5ca0a8f7617c4ea1..5907fc131beb9ccaef6e34ffe70bfe652f31090c 100644
|
| --- a/extensions/browser/warning_service_factory.h
|
| +++ b/chrome/browser/extensions/error_console/error_console_factory.h
|
| @@ -2,26 +2,26 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef EXTENSIONS_BROWSER_WARNING_SERVICE_FACTORY_H_
|
| -#define EXTENSIONS_BROWSER_WARNING_SERVICE_FACTORY_H_
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_FACTORY_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_FACTORY_H_
|
|
|
| #include "base/memory/singleton.h"
|
| #include "components/keyed_service/content/browser_context_keyed_service_factory.h"
|
|
|
| namespace extensions {
|
|
|
| -class WarningService;
|
| +class ErrorConsole;
|
|
|
| -class WarningServiceFactory : public BrowserContextKeyedServiceFactory {
|
| +class ErrorConsoleFactory : public BrowserContextKeyedServiceFactory {
|
| public:
|
| - static WarningService* GetForBrowserContext(content::BrowserContext* context);
|
| - static WarningServiceFactory* GetInstance();
|
| + static ErrorConsole* GetForBrowserContext(content::BrowserContext* context);
|
| + static ErrorConsoleFactory* GetInstance();
|
|
|
| private:
|
| - friend struct DefaultSingletonTraits<WarningServiceFactory>;
|
| + friend struct DefaultSingletonTraits<ErrorConsoleFactory>;
|
|
|
| - WarningServiceFactory();
|
| - ~WarningServiceFactory() override;
|
| + ErrorConsoleFactory();
|
| + ~ErrorConsoleFactory() override;
|
|
|
| // BrowserContextKeyedServiceFactory implementation
|
| KeyedService* BuildServiceInstanceFor(
|
| @@ -29,9 +29,9 @@ class WarningServiceFactory : public BrowserContextKeyedServiceFactory {
|
| content::BrowserContext* GetBrowserContextToUse(
|
| content::BrowserContext* context) const override;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(WarningServiceFactory);
|
| + DISALLOW_COPY_AND_ASSIGN(ErrorConsoleFactory);
|
| };
|
|
|
| } // namespace extensions
|
|
|
| -#endif // EXTENSIONS_BROWSER_WARNING_SERVICE_FACTORY_H_
|
| +#endif // CHROME_BROWSER_EXTENSIONS_ERROR_CONSOLE_ERROR_CONSOLE_FACTORY_H_
|
|
|