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

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

Issue 7006005: Move UrlFetcher to content. I originally thought that it's only used by chrome code, but turns o... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux Created 9 years, 6 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 // Helper class which handles communication with the SafeBrowsing backends for 5 // Helper class which handles communication with the SafeBrowsing backends for
6 // client-side phishing detection. This class can be used to get a file 6 // client-side phishing detection. This class can be used to get a file
7 // descriptor to the client-side phishing model and also to send a ping back to 7 // descriptor to the client-side phishing model and also to send a ping back to
8 // Google to verify if a particular site is really phishing or not. 8 // Google to verify if a particular site is really phishing or not.
9 // 9 //
10 // This class is not thread-safe and expects all calls to be made on the UI 10 // This class is not thread-safe and expects all calls to be made on the UI
(...skipping 14 matching lines...) Expand all
25 #include "base/callback.h" 25 #include "base/callback.h"
26 #include "base/file_path.h" 26 #include "base/file_path.h"
27 #include "base/gtest_prod_util.h" 27 #include "base/gtest_prod_util.h"
28 #include "base/memory/linked_ptr.h" 28 #include "base/memory/linked_ptr.h"
29 #include "base/memory/ref_counted.h" 29 #include "base/memory/ref_counted.h"
30 #include "base/memory/scoped_callback_factory.h" 30 #include "base/memory/scoped_callback_factory.h"
31 #include "base/memory/scoped_ptr.h" 31 #include "base/memory/scoped_ptr.h"
32 #include "base/platform_file.h" 32 #include "base/platform_file.h"
33 #include "base/task.h" 33 #include "base/task.h"
34 #include "base/time.h" 34 #include "base/time.h"
35 #include "chrome/common/net/url_fetcher.h"
36 #include "content/common/notification_observer.h" 35 #include "content/common/notification_observer.h"
37 #include "content/common/notification_registrar.h" 36 #include "content/common/notification_registrar.h"
37 #include "content/common/url_fetcher.h"
38 #include "googleurl/src/gurl.h" 38 #include "googleurl/src/gurl.h"
39 #include "net/base/net_util.h" 39 #include "net/base/net_util.h"
40 40
41 class RenderProcessHost; 41 class RenderProcessHost;
42 42
43 namespace net { 43 namespace net {
44 class URLRequestContextGetter; 44 class URLRequestContextGetter;
45 class URLRequestStatus; 45 class URLRequestStatus;
46 } // namespace net 46 } // namespace net
47 47
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 std::vector<AddressRange> private_networks_; 255 std::vector<AddressRange> private_networks_;
256 256
257 NotificationRegistrar registrar_; 257 NotificationRegistrar registrar_;
258 258
259 DISALLOW_COPY_AND_ASSIGN(ClientSideDetectionService); 259 DISALLOW_COPY_AND_ASSIGN(ClientSideDetectionService);
260 }; 260 };
261 261
262 } // namepsace safe_browsing 262 } // namepsace safe_browsing
263 263
264 #endif // CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_SERVICE_H_ 264 #endif // CHROME_BROWSER_SAFE_BROWSING_CLIENT_SIDE_DETECTION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698