We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / chromecast / android / chromecast_config_android.cc
blobd698b70a18b8b16ef3336c80bc21e38a98c045a1
1 // Copyright 2014 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.
5 #include "chromecast/android/chromecast_config_android.h"
7 namespace chromecast {
8 namespace android {
10 namespace {
11 base::LazyInstance<ChromecastConfigAndroid> g_instance =
12 LAZY_INSTANCE_INITIALIZER;
13 } // namespace
15 // static
16 ChromecastConfigAndroid* ChromecastConfigAndroid::GetInstance() {
17 return g_instance.Pointer();
20 ChromecastConfigAndroid::ChromecastConfigAndroid() {
23 ChromecastConfigAndroid::~ChromecastConfigAndroid() {
26 // Registers a handler to be notified when SendUsageStats is changed.
27 void ChromecastConfigAndroid::SetSendUsageStatsChangedCallback(
28 const base::Callback<void(bool)>& callback) {
29 send_usage_stats_changed_callback_ = callback;
32 } // namespace android
33 } // namespace chromecast