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

Side by Side Diff: components/wifi_sync/wifi_config_observer.h

Issue 1426393003: NOT FOR REVIEW Base URL: https://chromium.googlesource.com/chromium/src.git@submit-4.5-split-wcss
Patch Set: Created 5 years, 1 month 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
(Empty)
1 // Copyright 2015 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 #ifndef COMPONENTS_WIFI_SYNC_WIFI_CONFIG_OBSERVER_H_
6 #define COMPONENTS_WIFI_SYNC_WIFI_CONFIG_OBSERVER_H_
7
8 #include "base/memory/weak_ptr.h"
9
10 namespace wifi_sync {
11
12 class WifiCredentialSyncableService;
13
14 // Interface for platform-specific observers. Such observers monitor
15 // changes to local WiFi network settings, and propagate those changes
16 // to Chrome Sync.
17 class WifiConfigObserver {
18 public:
19 virtual ~WifiConfigObserver() {}
20
21 // Informs the observer that |syncable_service| is ready to accept
22 // updates.
23 virtual void StartSyncing(
24 base::WeakPtr<WifiCredentialSyncableService> syncable_service) = 0;
25
26 // Informs the delegate that it should no longer send updates.
27 virtual void StopSyncing() = 0;
28 };
29
30 } // namespace wifi_sync
31
32 #endif // COMPONENTS_WIFI_SYNC_WIFI_CONFIG_OBSERVER_H_
OLDNEW
« no previous file with comments | « components/wifi_sync/wifi_config_delegate_chromeos_unittest.cc ('k') | components/wifi_sync/wifi_config_observer_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698