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

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

Issue 156843004: Remove ExtensionService::extension_prefs() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: additional cleanup Created 6 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EXTENSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 410
411 bool show_extensions_prompts() { 411 bool show_extensions_prompts() {
412 return show_extensions_prompts_; 412 return show_extensions_prompts_;
413 } 413 }
414 414
415 Profile* profile(); 415 Profile* profile();
416 416
417 // Returns profile_ as a BrowserContext. 417 // Returns profile_ as a BrowserContext.
418 content::BrowserContext* GetBrowserContext() const; 418 content::BrowserContext* GetBrowserContext() const;
419 419
420 // TODO(skerner): Change to const ExtensionPrefs& extension_prefs() const,
421 // ExtensionPrefs* mutable_extension_prefs().
422 extensions::ExtensionPrefs* extension_prefs();
423 const extensions::ExtensionPrefs* extension_prefs() const;
James Cook 2014/02/07 00:53:02 w00t!
424
425 extensions::SettingsFrontend* settings_frontend(); 420 extensions::SettingsFrontend* settings_frontend();
426 421
427 void set_extension_sync_service( 422 void set_extension_sync_service(
428 ExtensionSyncService* extension_sync_service) { 423 ExtensionSyncService* extension_sync_service) {
429 extension_sync_service_ = extension_sync_service; 424 extension_sync_service_ = extension_sync_service;
430 } 425 }
431 426
432 extensions::ContentSettingsStore* GetContentSettingsStore(); 427 extensions::ContentSettingsStore* GetContentSettingsStore();
433 428
434 // Whether the extension service is ready. 429 // Whether the extension service is ready.
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 843 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
849 GreylistedExtensionDisabled); 844 GreylistedExtensionDisabled);
850 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 845 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
851 GreylistDontEnableManuallyDisabled); 846 GreylistDontEnableManuallyDisabled);
852 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 847 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
853 GreylistUnknownDontChange); 848 GreylistUnknownDontChange);
854 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 849 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
855 }; 850 };
856 851
857 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 852 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698