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

Side by Side Diff: chrome/browser/extensions/fake_safe_browsing_database_manager.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/extensions/fake_safe_browsing_database_manager.h" 5 #include "chrome/browser/extensions/fake_safe_browsing_database_manager.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <iterator> 10 #include <iterator>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind_helpers.h" 13 #include "base/bind_helpers.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/run_loop.h" 15 #include "base/run_loop.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 17 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
18 #include "components/safe_browsing_db/util.h" 18 #include "components/safe_browsing_db/util.h"
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 FakeSafeBrowsingDatabaseManager::FakeSafeBrowsingDatabaseManager(bool enabled) 22 FakeSafeBrowsingDatabaseManager::FakeSafeBrowsingDatabaseManager(bool enabled)
23 : LocalSafeBrowsingDatabaseManager(make_scoped_refptr( 23 : LocalSafeBrowsingDatabaseManager(make_scoped_refptr(
24 safe_browsing::SafeBrowsingService::CreateSafeBrowsingService())), 24 safe_browsing::SafeBrowsingService::CreateSafeBrowsingService())),
25 enabled_(enabled) {} 25 enabled_(enabled) {}
26 26
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 base::Passed(&safe_browsing_check))); 122 base::Passed(&safe_browsing_check)));
123 return false; 123 return false;
124 } 124 }
125 125
126 void FakeSafeBrowsingDatabaseManager::OnSafeBrowsingResult( 126 void FakeSafeBrowsingDatabaseManager::OnSafeBrowsingResult(
127 std::unique_ptr<SafeBrowsingCheck> result) { 127 std::unique_ptr<SafeBrowsingCheck> result) {
128 result->OnSafeBrowsingResult(); 128 result->OnSafeBrowsingResult();
129 } 129 }
130 130
131 } // namespace extensions 131 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_web_ui.cc ('k') | chrome/browser/extensions/signin/gaia_auth_extension_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698