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

Side by Side Diff: extensions/browser/warning_service.h

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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 EXTENSIONS_BROWSER_WARNING_SERVICE_H_ 5 #ifndef EXTENSIONS_BROWSER_WARNING_SERVICE_H_
6 #define EXTENSIONS_BROWSER_WARNING_SERVICE_H_ 6 #define EXTENSIONS_BROWSER_WARNING_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/observer_list.h" 12 #include "base/observer_list.h"
13 #include "base/scoped_observer.h" 13 #include "base/scoped_observer.h"
14 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
15 #include "components/keyed_service/core/keyed_service.h" 15 #include "components/keyed_service/core/keyed_service.h"
16 #include "extensions/browser/extension_registry_observer.h" 16 #include "extensions/browser/extension_registry_observer.h"
17 #include "extensions/browser/warning_set.h" 17 #include "extensions/browser/warning_set.h"
18 18
19 // TODO(battre) Remove the Extension prefix. 19 // TODO(battre) Remove the Extension prefix.
20 20
21 namespace content { 21 namespace content {
22 class BrowserContext; 22 class BrowserContext;
23 class NotificationDetails;
24 class NotificationSource;
25 } 23 }
26 24
27 namespace extensions { 25 namespace extensions {
28 26
29 class ExtensionRegistry; 27 class ExtensionRegistry;
30 28
31 // Manages a set of warnings caused by extensions. These warnings (e.g. 29 // Manages a set of warnings caused by extensions. These warnings (e.g.
32 // conflicting modifications of network requests by extensions, slow extensions, 30 // conflicting modifications of network requests by extensions, slow extensions,
33 // etc.) trigger a warning badge in the UI and and provide means to resolve 31 // etc.) trigger a warning badge in the UI and and provide means to resolve
34 // them. This class must be used on the UI thread only. 32 // them. This class must be used on the UI thread only.
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // Listen to extension unloaded notifications. 89 // Listen to extension unloaded notifications.
92 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> 90 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
93 extension_registry_observer_; 91 extension_registry_observer_;
94 92
95 base::ObserverList<Observer> observer_list_; 93 base::ObserverList<Observer> observer_list_;
96 }; 94 };
97 95
98 } // namespace extensions 96 } // namespace extensions
99 97
100 #endif // EXTENSIONS_BROWSER_WARNING_SERVICE_H_ 98 #endif // EXTENSIONS_BROWSER_WARNING_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698