Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BLACKLIST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_BLACKLIST_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/callback.h" | 14 #include "base/callback.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 18 #include "chrome/browser/safe_browsing/database_manager.h" | 18 #include "chrome/browser/safe_browsing/database_manager.h" |
| 19 #include "components/keyed_service/core/keyed_service.h" | 19 #include "components/keyed_service/core/keyed_service.h" |
| 20 #include "content/public/browser/notification_observer.h" | 20 #include "content/public/browser/notification_observer.h" |
| 21 #include "content/public/browser/notification_registrar.h" | 21 #include "content/public/browser/notification_registrar.h" |
| 22 #include "extensions/browser/blacklist_state.h" | 22 #include "extensions/browser/blacklist_state.h" |
| 23 | 23 |
| 24 using safe_browsing::SafeBrowsingDatabaseManager; | |
|
Nathan Parker
2015/11/10 23:53:34
"using" should only be used in .cc files, since ot
vakh (old account. dont use)
2015/11/11 18:59:52
Done.
| |
| 25 | |
| 24 namespace content { | 26 namespace content { |
| 25 class BrowserContext; | 27 class BrowserContext; |
| 26 } | 28 } |
| 27 | 29 |
| 28 namespace extensions { | 30 namespace extensions { |
| 29 | 31 |
| 30 class BlacklistStateFetcher; | 32 class BlacklistStateFetcher; |
| 31 class Extension; | 33 class Extension; |
| 32 class ExtensionPrefs; | 34 class ExtensionPrefs; |
| 33 | 35 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 153 // GetBlacklistedIDs and deleted when the callback is called from | 155 // GetBlacklistedIDs and deleted when the callback is called from |
| 154 // OnBlacklistStateReceived. | 156 // OnBlacklistStateReceived. |
| 155 StateRequestsList state_requests_; | 157 StateRequestsList state_requests_; |
| 156 | 158 |
| 157 DISALLOW_COPY_AND_ASSIGN(Blacklist); | 159 DISALLOW_COPY_AND_ASSIGN(Blacklist); |
| 158 }; | 160 }; |
| 159 | 161 |
| 160 } // namespace extensions | 162 } // namespace extensions |
| 161 | 163 |
| 162 #endif // CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_ | 164 #endif // CHROME_BROWSER_EXTENSIONS_BLACKLIST_H_ |
| OLD | NEW |