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

Side by Side Diff: chrome/browser/safe_browsing/protocol_manager.cc

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 #include "chrome/browser/safe_browsing/protocol_manager.h" 5 #include "chrome/browser/safe_browsing/protocol_manager.h"
6 6
7 #ifndef NDEBUG 7 #ifndef NDEBUG
8 #include "base/base64.h" 8 #include "base/base64.h"
9 #endif 9 #endif
10 #include "base/environment.h" 10 #include "base/environment.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 #include "base/rand_util.h" 13 #include "base/rand_util.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
17 #include "base/timer.h" 17 #include "base/timer.h"
18 #include "chrome/browser/safe_browsing/protocol_parser.h" 18 #include "chrome/browser/safe_browsing/protocol_parser.h"
19 #include "chrome/common/chrome_version_info.h" 19 #include "chrome/common/chrome_version_info.h"
20 #include "chrome/common/env_vars.h" 20 #include "chrome/common/env_vars.h"
21 #include "content/public/browser/browser_thread.h"
22 #include "google_apis/google_api_keys.h" 21 #include "google_apis/google_api_keys.h"
23 #include "net/base/escape.h" 22 #include "net/base/escape.h"
24 #include "net/base/load_flags.h" 23 #include "net/base/load_flags.h"
25 #include "net/url_request/url_fetcher.h" 24 #include "net/url_request/url_fetcher.h"
26 #include "net/url_request/url_request_context_getter.h" 25 #include "net/url_request/url_request_context_getter.h"
27 #include "net/url_request/url_request_status.h" 26 #include "net/url_request/url_request_status.h"
28 27
29 using base::Time; 28 using base::Time;
30 using base::TimeDelta; 29 using base::TimeDelta;
31 30
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 FullHashCallback callback, bool is_download) 639 FullHashCallback callback, bool is_download)
641 : callback(callback), 640 : callback(callback),
642 is_download(is_download) { 641 is_download(is_download) {
643 } 642 }
644 643
645 SafeBrowsingProtocolManager::FullHashDetails::~FullHashDetails() { 644 SafeBrowsingProtocolManager::FullHashDetails::~FullHashDetails() {
646 } 645 }
647 646
648 SafeBrowsingProtocolManagerDelegate::~SafeBrowsingProtocolManagerDelegate() { 647 SafeBrowsingProtocolManagerDelegate::~SafeBrowsingProtocolManagerDelegate() {
649 } 648 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/malware_details.h ('k') | chrome/browser/safe_browsing/protocol_manager_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698