OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2011 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 | |
6 #ifndef CHROME_BROWSER_SYNC_NOTIFIER_SYNC_NOTIFIER_H_ | |
7 #define CHROME_BROWSER_SYNC_NOTIFIER_SYNC_NOTIFIER_H_ | |
8 | |
9 #include "chrome/browser/sync/notifier/sync_notifier_callback.h" | |
10 #include "chrome/browser/sync/syncable/model_type.h" | |
11 | |
12 namespace sync_notifier { | |
13 | |
14 class SyncNotifier { | |
15 public: | |
16 virtual void Login( | |
akalin
2011/03/08 02:48:30
have a public virtual destructor
Agrawal
2011/03/08 23:07:28
Done. Thanks for pointing out.
| |
17 const std::string& email, const std::string& token, | |
akalin
2011/03/08 02:48:30
need #include string
Agrawal
2011/03/08 23:07:28
Done.
| |
18 const std::string& state, | |
19 SyncNotifierCallback* sync_notifier_callback) = 0; | |
akalin
2011/03/08 02:48:30
I think that instead of bundling SyncNotifierCallb
Agrawal
2011/03/09 01:57:04
Done. Thanks for the suggestion.
| |
20 | |
21 virtual void UpdateEnabledTypes(const syncable::ModelTypeSet& types) = 0; | |
22 virtual void Logout() = 0; | |
akalin
2011/03/08 02:48:30
I think there's no need for an explicit Logout() i
Agrawal
2011/03/09 01:57:04
Done.
| |
23 }; | |
24 } // namespace sync_notifier | |
25 | |
26 #endif // CHROME_BROWSER_SYNC_NOTIFIER_SYNC_NOTIFIER_H_ | |
27 | |
OLD | NEW |