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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 653
654 // Whether to notify users when they attempt to install an extension. 654 // Whether to notify users when they attempt to install an extension.
655 bool show_extensions_prompts_; 655 bool show_extensions_prompts_;
656 656
657 // The backend that will do IO on behalf of this instance. 657 // The backend that will do IO on behalf of this instance.
658 scoped_refptr<ExtensionServiceBackend> backend_; 658 scoped_refptr<ExtensionServiceBackend> backend_;
659 659
660 // Used by dispatchers to limit API quota for individual extensions. 660 // Used by dispatchers to limit API quota for individual extensions.
661 ExtensionsQuotaService quota_service_; 661 ExtensionsQuotaService quota_service_;
662 662
663 // Record that Init() has been called, and NotificationType::EXTENSIONS_READY 663 // Record that Init() has been called, and chrome::EXTENSIONS_READY
664 // has fired. 664 // has fired.
665 bool ready_; 665 bool ready_;
666 666
667 // Our extension updater, if updates are turned on. 667 // Our extension updater, if updates are turned on.
668 scoped_ptr<ExtensionUpdater> updater_; 668 scoped_ptr<ExtensionUpdater> updater_;
669 669
670 // The model that tracks extensions with BrowserAction buttons. 670 // The model that tracks extensions with BrowserAction buttons.
671 ExtensionToolbarModel toolbar_model_; 671 ExtensionToolbarModel toolbar_model_;
672 672
673 // Map unloaded extensions' ids to their paths. When a temporarily loaded 673 // Map unloaded extensions' ids to their paths. When a temporarily loaded
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 NaClModuleInfoList nacl_module_list_; 737 NaClModuleInfoList nacl_module_list_;
738 738
739 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 739 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
740 InstallAppsWithUnlimtedStorage); 740 InstallAppsWithUnlimtedStorage);
741 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 741 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
742 InstallAppsAndCheckStorageProtection); 742 InstallAppsAndCheckStorageProtection);
743 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 743 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
744 }; 744 };
745 745
746 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 746 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698