| OLD | NEW |
| 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 |
| OLD | NEW |