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

Side by Side Diff: chrome/browser/safe_browsing/ui_manager.h

Issue 11740018: Cleanup: Remove more unneeded browser_thread.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 7 years, 11 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 // The Safe Browsing service is responsible for downloading anti-phishing and 5 // The Safe Browsing service is responsible for downloading anti-phishing and
6 // anti-malware tables and checking urls against them. 6 // anti-malware tables and checking urls against them.
7 7
8 #ifndef CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 8 #ifndef CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
9 #define CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 9 #define CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
10 10
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/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/observer_list.h" 17 #include "base/observer_list.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "chrome/browser/safe_browsing/safe_browsing_util.h" 19 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
20 #include "content/public/browser/browser_thread.h"
21 #include "content/public/browser/notification_observer.h" 20 #include "content/public/browser/notification_observer.h"
22 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
23 22
24 class SafeBrowsingService; 23 class SafeBrowsingService;
25 24
26 namespace base { 25 namespace base {
27 class Thread; 26 class Thread;
28 } 27 }
29 28
30 // Construction needs to happen on the main thread. 29 // Construction needs to happen on the main thread.
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 152
154 // Only access this whitelist from the UI thread. 153 // Only access this whitelist from the UI thread.
155 std::vector<WhiteListedEntry> white_listed_entries_; 154 std::vector<WhiteListedEntry> white_listed_entries_;
156 155
157 ObserverList<Observer> observer_list_; 156 ObserverList<Observer> observer_list_;
158 157
159 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager); 158 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingUIManager);
160 }; 159 };
161 160
162 #endif // CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_ 161 #endif // CHROME_BROWSER_SAFE_BROWSING_UI_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/protocol_manager_helper.cc ('k') | chrome/browser/spellchecker/spelling_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698