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

Side by Side Diff: components/physical_web_data_source/physical_web_data_source.cc

Issue 2113473002: Add a Physical Web data source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove notification Created 4 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/physical_web_data_source/physical_web_data_source.h"
6
7 namespace {
8 PhysicalWebDataSource* g_physical_web_data_source = nullptr;
9 }
10
11 PhysicalWebDataSource::PhysicalWebDataSource() {}
12
13 PhysicalWebDataSource::~PhysicalWebDataSource() {}
14
15 // static
16 PhysicalWebDataSource* PhysicalWebDataSource::GetInstance() {
17 return g_physical_web_data_source;
18 }
19
20 // static
21 void PhysicalWebDataSource::SetInstance(
22 PhysicalWebDataSource* instance) {
23 g_physical_web_data_source = instance;
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698