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

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

Issue 196423023: Revert of Include sync.pb.h in sync_data.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
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>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/prefs/pref_change_registrar.h" 19 #include "base/prefs/pref_change_registrar.h"
20 #include "base/strings/string16.h" 20 #include "base/strings/string16.h"
21 #include "chrome/browser/extensions/blacklist.h" 21 #include "chrome/browser/extensions/blacklist.h"
22 #include "chrome/browser/extensions/extension_sync_service.h"
22 #include "chrome/browser/extensions/pending_extension_manager.h" 23 #include "chrome/browser/extensions/pending_extension_manager.h"
23 #include "chrome/common/extensions/extension_constants.h" 24 #include "chrome/common/extensions/extension_constants.h"
24 #include "content/public/browser/devtools_agent_host.h" 25 #include "content/public/browser/devtools_agent_host.h"
25 #include "content/public/browser/notification_observer.h" 26 #include "content/public/browser/notification_observer.h"
26 #include "content/public/browser/notification_registrar.h" 27 #include "content/public/browser/notification_registrar.h"
27 #include "extensions/browser/extension_function_histogram_value.h" 28 #include "extensions/browser/extension_function_histogram_value.h"
28 #include "extensions/browser/extension_prefs.h" 29 #include "extensions/browser/extension_prefs.h"
29 #include "extensions/browser/external_provider_interface.h" 30 #include "extensions/browser/external_provider_interface.h"
30 #include "extensions/browser/management_policy.h" 31 #include "extensions/browser/management_policy.h"
31 #include "extensions/browser/process_manager.h" 32 #include "extensions/browser/process_manager.h"
(...skipping 23 matching lines...) Expand all
55 class ExtensionSystem; 56 class ExtensionSystem;
56 class ExtensionUpdater; 57 class ExtensionUpdater;
57 class PendingExtensionManager; 58 class PendingExtensionManager;
58 class RendererStartupHelper; 59 class RendererStartupHelper;
59 class UpdateObserver; 60 class UpdateObserver;
60 } // namespace extensions 61 } // namespace extensions
61 62
62 using extensions::ExtensionIdSet; 63 using extensions::ExtensionIdSet;
63 64
64 namespace syncer { 65 namespace syncer {
65 class ExtensionSyncService;
66 class SyncErrorFactory; 66 class SyncErrorFactory;
67 } 67 }
68 68
69 // This is an interface class to encapsulate the dependencies that 69 // This is an interface class to encapsulate the dependencies that
70 // various classes have on ExtensionService. This allows easy mocking. 70 // various classes have on ExtensionService. This allows easy mocking.
71 class ExtensionServiceInterface 71 class ExtensionServiceInterface
72 : public base::SupportsWeakPtr<ExtensionServiceInterface> { 72 : public base::SupportsWeakPtr<ExtensionServiceInterface> {
73 public: 73 public:
74 virtual ~ExtensionServiceInterface() {} 74 virtual ~ExtensionServiceInterface() {}
75 75
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 835 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
836 GreylistedExtensionDisabled); 836 GreylistedExtensionDisabled);
837 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 837 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
838 GreylistDontEnableManuallyDisabled); 838 GreylistDontEnableManuallyDisabled);
839 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 839 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
840 GreylistUnknownDontChange); 840 GreylistUnknownDontChange);
841 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 841 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
842 }; 842 };
843 843
844 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 844 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.cc ('k') | chrome/browser/extensions/extension_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698