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()9TiclSettingsProvider::Observer::~Observer() { 10 } 11 TiclSettingsProvider()12TiclSettingsProvider::TiclSettingsProvider() { 13 } 14 ~TiclSettingsProvider()15TiclSettingsProvider::~TiclSettingsProvider() { 16 } 17 AddObserver(Observer * observer)18void TiclSettingsProvider::AddObserver(Observer* observer) { 19 observers_.AddObserver(observer); 20 } 21 RemoveObserver(Observer * observer)22void TiclSettingsProvider::RemoveObserver(Observer* observer) { 23 observers_.RemoveObserver(observer); 24 } 25 FireOnUseGCMChannelChanged()26void TiclSettingsProvider::FireOnUseGCMChannelChanged() { 27 FOR_EACH_OBSERVER(Observer, observers_, OnUseGCMChannelChanged()); 28 } 29 30 } // namespace invalidation 31