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

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

Issue 1269773002: Cleanup VersionInfo after componentization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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
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 #include "base/environment.h" 7 #include "base/environment.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/profiler/scoped_tracker.h" 11 #include "base/profiler/scoped_tracker.h"
12 #include "base/rand_util.h" 12 #include "base/rand_util.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/timer/timer.h" 16 #include "base/timer/timer.h"
17 #include "chrome/browser/safe_browsing/protocol_parser.h" 17 #include "chrome/browser/safe_browsing/protocol_parser.h"
18 #include "chrome/common/chrome_version_info.h"
19 #include "chrome/common/env_vars.h" 18 #include "chrome/common/env_vars.h"
20 #include "google_apis/google_api_keys.h" 19 #include "google_apis/google_api_keys.h"
21 #include "net/base/escape.h" 20 #include "net/base/escape.h"
22 #include "net/base/load_flags.h" 21 #include "net/base/load_flags.h"
23 #include "net/base/net_errors.h" 22 #include "net/base/net_errors.h"
24 #include "net/url_request/url_fetcher.h" 23 #include "net/url_request/url_fetcher.h"
25 #include "net/url_request/url_request_context_getter.h" 24 #include "net/url_request/url_request_context_getter.h"
26 #include "net/url_request/url_request_status.h" 25 #include "net/url_request/url_request_status.h"
27 26
28 #if defined(OS_ANDROID) 27 #if defined(OS_ANDROID)
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 FullHashCallback callback, bool is_download) 782 FullHashCallback callback, bool is_download)
784 : callback(callback), 783 : callback(callback),
785 is_download(is_download) { 784 is_download(is_download) {
786 } 785 }
787 786
788 SafeBrowsingProtocolManager::FullHashDetails::~FullHashDetails() { 787 SafeBrowsingProtocolManager::FullHashDetails::~FullHashDetails() {
789 } 788 }
790 789
791 SafeBrowsingProtocolManagerDelegate::~SafeBrowsingProtocolManagerDelegate() { 790 SafeBrowsingProtocolManagerDelegate::~SafeBrowsingProtocolManagerDelegate() {
792 } 791 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698