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

Unified Diff: chrome/browser/invalidation/ticl_settings_provider.cc

Issue 255443005: Remove Profile dependency from TiclInvalidationService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compilation fix. Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/invalidation/ticl_settings_provider.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/invalidation/ticl_settings_provider.cc
diff --git a/chrome/browser/invalidation/ticl_settings_provider.cc b/chrome/browser/invalidation/ticl_settings_provider.cc
new file mode 100644
index 0000000000000000000000000000000000000000..b00c6adddea71827af833f3e0dd87a74b55c3826
--- /dev/null
+++ b/chrome/browser/invalidation/ticl_settings_provider.cc
@@ -0,0 +1,30 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/invalidation/ticl_settings_provider.h"
+
+namespace invalidation {
+
+TiclSettingsProvider::Observer::~Observer() {
+}
+
+TiclSettingsProvider::TiclSettingsProvider() {
+}
+
+TiclSettingsProvider::~TiclSettingsProvider() {
+}
+
+void TiclSettingsProvider::AddObserver(Observer* observer) {
+ observers_.AddObserver(observer);
+}
+
+void TiclSettingsProvider::RemoveObserver(Observer* observer) {
+ observers_.RemoveObserver(observer);
+}
+
+void TiclSettingsProvider::FireOnUseGCMChannelChanged() {
+ FOR_EACH_OBSERVER(Observer, observers_, OnUseGCMChannelChanged());
+}
+
+} // namespace invalidation
« no previous file with comments | « chrome/browser/invalidation/ticl_settings_provider.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698