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

Side by Side Diff: chrome/browser/extensions/api/settings_overrides/settings_overrides_api.h

Issue 367863005: No chrome dependencies in TemplateURLService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename to TemplateURLServiceClient Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SETTINGS_OVERRIDES_SETTINGS_OVERRIDES_API_ H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SETTINGS_OVERRIDES_SETTINGS_OVERRIDES_API_ H_
6 #define CHROME_BROWSER_EXTENSIONS_API_SETTINGS_OVERRIDES_SETTINGS_OVERRIDES_API_ H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_SETTINGS_OVERRIDES_SETTINGS_OVERRIDES_API_ H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/scoped_observer.h" 11 #include "base/scoped_observer.h"
12 #include "chrome/browser/search_engines/template_url_service.h" 12 #include "chrome/browser/search_engines/template_url_service.h"
13 #include "extensions/browser/browser_context_keyed_api_factory.h" 13 #include "extensions/browser/browser_context_keyed_api_factory.h"
14 #include "extensions/browser/extension_registry_observer.h" 14 #include "extensions/browser/extension_registry_observer.h"
15 15
16 class Profile;
16 class TemplateURL; 17 class TemplateURL;
17 18
18 namespace extensions { 19 namespace extensions {
19 class ExtensionRegistry; 20 class ExtensionRegistry;
20 21
21 class SettingsOverridesAPI : public BrowserContextKeyedAPI, 22 class SettingsOverridesAPI : public BrowserContextKeyedAPI,
22 public ExtensionRegistryObserver { 23 public ExtensionRegistryObserver {
23 public: 24 public:
24 explicit SettingsOverridesAPI(content::BrowserContext* context); 25 explicit SettingsOverridesAPI(content::BrowserContext* context);
25 virtual ~SettingsOverridesAPI(); 26 virtual ~SettingsOverridesAPI();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 DISALLOW_COPY_AND_ASSIGN(SettingsOverridesAPI); 74 DISALLOW_COPY_AND_ASSIGN(SettingsOverridesAPI);
74 }; 75 };
75 76
76 template <> 77 template <>
77 void BrowserContextKeyedAPIFactory< 78 void BrowserContextKeyedAPIFactory<
78 SettingsOverridesAPI>::DeclareFactoryDependencies(); 79 SettingsOverridesAPI>::DeclareFactoryDependencies();
79 80
80 } // namespace extensions 81 } // namespace extensions
81 82
82 #endif // CHROME_BROWSER_EXTENSIONS_API_SETTINGS_OVERRIDES_SETTINGS_OVERRIDES_A PI_H_ 83 #endif // CHROME_BROWSER_EXTENSIONS_API_SETTINGS_OVERRIDES_SETTINGS_OVERRIDES_A PI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698