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.
5 #include "components/invalidation/ticl_settings_provider.h"
7 namespace invalidation
{
9 TiclSettingsProvider::Observer::~Observer() {
12 TiclSettingsProvider::TiclSettingsProvider() {
15 TiclSettingsProvider::~TiclSettingsProvider() {
18 void TiclSettingsProvider::AddObserver(Observer
* observer
) {
19 observers_
.AddObserver(observer
);
22 void TiclSettingsProvider::RemoveObserver(Observer
* observer
) {
23 observers_
.RemoveObserver(observer
);
26 void TiclSettingsProvider::FireOnUseGCMChannelChanged() {
27 FOR_EACH_OBSERVER(Observer
, observers_
, OnUseGCMChannelChanged());
30 } // namespace invalidation