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

Side by Side Diff: chrome/browser/extensions/settings_api_helpers.h

Issue 288923004: Add an extension override bubble and warning box for proxy extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 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_SETTINGS_API_HELPERS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_
6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_
7 7
8 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler. h" 8 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler. h"
9 9
10 namespace content { 10 namespace content {
(...skipping 25 matching lines...) Expand all
36 std::vector<GURL>* startup_pages); 36 std::vector<GURL>* startup_pages);
37 37
38 // Returns which extension is overriding the search engine in a given 38 // Returns which extension is overriding the search engine in a given
39 // |browser_context|. |search_provider|, if non-NULL, will contain the search 39 // |browser_context|. |search_provider|, if non-NULL, will contain the search
40 // provider the extension has set. 40 // provider the extension has set.
41 const Extension* OverridesSearchEngine( 41 const Extension* OverridesSearchEngine(
42 content::BrowserContext* browser_context, 42 content::BrowserContext* browser_context,
43 api::manifest_types::ChromeSettingsOverrides::Search_provider* 43 api::manifest_types::ChromeSettingsOverrides::Search_provider*
44 search_provider); 44 search_provider);
45 45
46 // Returns which extension is overriding the proxy in a given |browser_context|.
47 const Extension* OverridesProxy(
Devlin 2014/05/20 17:26:31 I think "OverridesProxy()" is a little nondescript
Finnur 2014/05/21 16:30:32 Done.
48 content::BrowserContext* browser_context);
Devlin 2014/05/20 17:26:31 nit: fits on one line.
Finnur 2014/05/21 16:30:32 Not anymore.
49
46 } // namespace extensions 50 } // namespace extensions
47 51
48 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_ 52 #endif // CHROME_BROWSER_EXTENSIONS_SETTINGS_API_HELPERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698