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

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

Issue 2561053002: V4Only: In V4Only mode use PVer4 for all SafeBrowsing operations (Closed)
Patch Set: Fix my comments from 2533993004 Created 4 years 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/services_delegate_stub.h" 5 #include "chrome/browser/safe_browsing/services_delegate_stub.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "components/safe_browsing_db/v4_local_database_manager.h" 9 #include "components/safe_browsing_db/v4_local_database_manager.h"
10 10
(...skipping 13 matching lines...) Expand all
24 return base::WrapUnique(new ServicesDelegateStub); 24 return base::WrapUnique(new ServicesDelegateStub);
25 } 25 }
26 26
27 ServicesDelegateStub::ServicesDelegateStub() {} 27 ServicesDelegateStub::ServicesDelegateStub() {}
28 28
29 ServicesDelegateStub::~ServicesDelegateStub() {} 29 ServicesDelegateStub::~ServicesDelegateStub() {}
30 30
31 void ServicesDelegateStub::InitializeCsdService( 31 void ServicesDelegateStub::InitializeCsdService(
32 net::URLRequestContextGetter* context_getter) {} 32 net::URLRequestContextGetter* context_getter) {}
33 33
34 const scoped_refptr<V4LocalDatabaseManager>& 34 const scoped_refptr<SafeBrowsingDatabaseManager>&
35 ServicesDelegateStub::v4_local_database_manager() const { 35 ServicesDelegateStub::v4_local_database_manager() const {
36 return v4_local_database_manager_; 36 return v4_local_database_manager_;
37 } 37 }
38 38
39 void ServicesDelegateStub::Initialize() {} 39 void ServicesDelegateStub::Initialize() {}
40 40
41 void ServicesDelegateStub::ShutdownServices() {} 41 void ServicesDelegateStub::ShutdownServices() {}
42 42
43 void ServicesDelegateStub::RefreshState(bool enable) {} 43 void ServicesDelegateStub::RefreshState(bool enable) {}
44 44
(...skipping 22 matching lines...) Expand all
67 return nullptr; 67 return nullptr;
68 } 68 }
69 69
70 void ServicesDelegateStub::StartOnIOThread( 70 void ServicesDelegateStub::StartOnIOThread(
71 net::URLRequestContextGetter* url_request_context_getter, 71 net::URLRequestContextGetter* url_request_context_getter,
72 const V4ProtocolConfig& v4_config) {} 72 const V4ProtocolConfig& v4_config) {}
73 73
74 void ServicesDelegateStub::StopOnIOThread(bool shutdown) {} 74 void ServicesDelegateStub::StopOnIOThread(bool shutdown) {}
75 75
76 } // namespace safe_browsing 76 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698