• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #include "components/invalidation/ticl_settings_provider.h"
6 
7 namespace invalidation {
8 
~Observer()9 TiclSettingsProvider::Observer::~Observer() {
10 }
11 
TiclSettingsProvider()12 TiclSettingsProvider::TiclSettingsProvider() {
13 }
14 
~TiclSettingsProvider()15 TiclSettingsProvider::~TiclSettingsProvider() {
16 }
17 
AddObserver(Observer * observer)18 void TiclSettingsProvider::AddObserver(Observer* observer) {
19   observers_.AddObserver(observer);
20 }
21 
RemoveObserver(Observer * observer)22 void TiclSettingsProvider::RemoveObserver(Observer* observer) {
23   observers_.RemoveObserver(observer);
24 }
25 
FireOnUseGCMChannelChanged()26 void TiclSettingsProvider::FireOnUseGCMChannelChanged() {
27   FOR_EACH_OBSERVER(Observer, observers_, OnUseGCMChannelChanged());
28 }
29 
30 }  // namespace invalidation
31