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

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

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Remove '// namespace safe_browsing' for a small fwd decl block. Created 5 years, 1 month 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 "chrome/browser/safe_browsing/safe_browsing_api_handler.h"
6 6
7 namespace safe_browsing {
8
7 SafeBrowsingApiHandler* SafeBrowsingApiHandler::instance_ = NULL; 9 SafeBrowsingApiHandler* SafeBrowsingApiHandler::instance_ = NULL;
8 10
9 // static 11 // static
10 void SafeBrowsingApiHandler::SetInstance(SafeBrowsingApiHandler* instance) { 12 void SafeBrowsingApiHandler::SetInstance(SafeBrowsingApiHandler* instance) {
11 instance_ = instance; 13 instance_ = instance;
12 } 14 }
13 15
14 // static 16 // static
15 SafeBrowsingApiHandler* SafeBrowsingApiHandler::GetInstance() { 17 SafeBrowsingApiHandler* SafeBrowsingApiHandler::GetInstance() {
16 return instance_; 18 return instance_;
17 } 19 }
20
21 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_api_handler.h ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698