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

Side by Side Diff: components/safe_browsing_db/safe_browsing_api_handler.cc

Issue 1624723002: Move remote_db_manager into the safe_browsing_db component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fetch, rebase, format Created 4 years, 10 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/safe_browsing_api_handler.h" 5 #include "components/safe_browsing_db/safe_browsing_api_handler.h"
6 6
7 namespace safe_browsing { 7 namespace safe_browsing {
8 8
9 SafeBrowsingApiHandler* SafeBrowsingApiHandler::instance_ = NULL; 9 SafeBrowsingApiHandler* SafeBrowsingApiHandler::instance_ = NULL;
10 10
11 // static 11 // static
12 void SafeBrowsingApiHandler::SetInstance(SafeBrowsingApiHandler* instance) { 12 void SafeBrowsingApiHandler::SetInstance(SafeBrowsingApiHandler* instance) {
13 instance_ = instance; 13 instance_ = instance;
14 } 14 }
15 15
16 // static 16 // static
17 SafeBrowsingApiHandler* SafeBrowsingApiHandler::GetInstance() { 17 SafeBrowsingApiHandler* SafeBrowsingApiHandler::GetInstance() {
18 return instance_; 18 return instance_;
19 } 19 }
20 20
21 } // namespace safe_browsing 21 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698