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

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

Issue 15906011: Use a direct include of strings headers in chrome/browser/r*-s*/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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) 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/database_manager.h" 5 #include "chrome/browser/safe_browsing/database_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/debug/leak_tracker.h" 13 #include "base/debug/leak_tracker.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "base/string_util.h" 16 #include "base/strings/string_util.h"
17 #include "base/threading/thread.h" 17 #include "base/threading/thread.h"
18 #include "base/threading/thread_restrictions.h" 18 #include "base/threading/thread_restrictions.h"
19 #include "chrome/browser/browser_process.h" 19 #include "chrome/browser/browser_process.h"
20 #include "chrome/browser/metrics/metrics_service.h" 20 #include "chrome/browser/metrics/metrics_service.h"
21 #include "chrome/browser/prerender/prerender_field_trial.h" 21 #include "chrome/browser/prerender/prerender_field_trial.h"
22 #include "chrome/browser/safe_browsing/client_side_detection_service.h" 22 #include "chrome/browser/safe_browsing/client_side_detection_service.h"
23 #include "chrome/browser/safe_browsing/download_protection_service.h" 23 #include "chrome/browser/safe_browsing/download_protection_service.h"
24 #include "chrome/browser/safe_browsing/malware_details.h" 24 #include "chrome/browser/safe_browsing/malware_details.h"
25 #include "chrome/browser/safe_browsing/protocol_manager.h" 25 #include "chrome/browser/safe_browsing/protocol_manager.h"
26 #include "chrome/browser/safe_browsing/safe_browsing_database.h" 26 #include "chrome/browser/safe_browsing/safe_browsing_database.h"
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 new base::WeakPtrFactory<SafeBrowsingDatabaseManager>(this)); 1049 new base::WeakPtrFactory<SafeBrowsingDatabaseManager>(this));
1050 checks_.insert(check); 1050 checks_.insert(check);
1051 1051
1052 safe_browsing_thread_->message_loop()->PostTask(FROM_HERE, task); 1052 safe_browsing_thread_->message_loop()->PostTask(FROM_HERE, task);
1053 1053
1054 base::MessageLoop::current()->PostDelayedTask(FROM_HERE, 1054 base::MessageLoop::current()->PostDelayedTask(FROM_HERE,
1055 base::Bind(&SafeBrowsingDatabaseManager::TimeoutCallback, 1055 base::Bind(&SafeBrowsingDatabaseManager::TimeoutCallback,
1056 check->timeout_factory_->GetWeakPtr(), check), 1056 check->timeout_factory_->GetWeakPtr(), check),
1057 check_timeout_); 1057 check_timeout_);
1058 } 1058 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698