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

Side by Side Diff: components/invalidation/ticl_settings_provider.cc

Issue 255273002: First step towards invalidations componentization (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix merge conflict Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « components/invalidation/ticl_settings_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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/invalidation/ticl_settings_provider.h" 5 #include "components/invalidation/ticl_settings_provider.h"
6 6
7 namespace invalidation { 7 namespace invalidation {
8 8
9 TiclSettingsProvider::Observer::~Observer() { 9 TiclSettingsProvider::Observer::~Observer() {
10 } 10 }
11 11
12 TiclSettingsProvider::TiclSettingsProvider() { 12 TiclSettingsProvider::TiclSettingsProvider() {
13 } 13 }
14 14
15 TiclSettingsProvider::~TiclSettingsProvider() { 15 TiclSettingsProvider::~TiclSettingsProvider() {
16 } 16 }
17 17
18 void TiclSettingsProvider::AddObserver(Observer* observer) { 18 void TiclSettingsProvider::AddObserver(Observer* observer) {
19 observers_.AddObserver(observer); 19 observers_.AddObserver(observer);
20 } 20 }
21 21
22 void TiclSettingsProvider::RemoveObserver(Observer* observer) { 22 void TiclSettingsProvider::RemoveObserver(Observer* observer) {
23 observers_.RemoveObserver(observer); 23 observers_.RemoveObserver(observer);
24 } 24 }
25 25
26 void TiclSettingsProvider::FireOnUseGCMChannelChanged() { 26 void TiclSettingsProvider::FireOnUseGCMChannelChanged() {
27 FOR_EACH_OBSERVER(Observer, observers_, OnUseGCMChannelChanged()); 27 FOR_EACH_OBSERVER(Observer, observers_, OnUseGCMChannelChanged());
28 } 28 }
29 29
30 } // namespace invalidation 30 } // namespace invalidation
OLDNEW
« no previous file with comments | « components/invalidation/ticl_settings_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698