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

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

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 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
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 "components/invalidation/ticl_settings_provider.h" 5 #include "components/invalidation/impl/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/impl/ticl_settings_provider.h ('k') | components/invalidation/impl/unacked_invalidation_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698