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

Side by Side Diff: sync/internal_api/js_sync_manager_observer.h

Issue 10584019: sync: Remove ClearUserData command. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 8 years, 6 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ 5 #ifndef SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_
6 #define SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ 6 #define SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 virtual void OnPassphraseAccepted() OVERRIDE; 43 virtual void OnPassphraseAccepted() OVERRIDE;
44 virtual void OnBootstrapTokenUpdated( 44 virtual void OnBootstrapTokenUpdated(
45 const std::string& bootstrap_token) OVERRIDE; 45 const std::string& bootstrap_token) OVERRIDE;
46 virtual void OnEncryptedTypesChanged( 46 virtual void OnEncryptedTypesChanged(
47 syncable::ModelTypeSet encrypted_types, 47 syncable::ModelTypeSet encrypted_types,
48 bool encrypt_everything) OVERRIDE; 48 bool encrypt_everything) OVERRIDE;
49 virtual void OnEncryptionComplete() OVERRIDE; 49 virtual void OnEncryptionComplete() OVERRIDE;
50 virtual void OnInitializationComplete( 50 virtual void OnInitializationComplete(
51 const WeakHandle<JsBackend>& js_backend, bool success) OVERRIDE; 51 const WeakHandle<JsBackend>& js_backend, bool success) OVERRIDE;
52 virtual void OnStopSyncingPermanently() OVERRIDE; 52 virtual void OnStopSyncingPermanently() OVERRIDE;
53 virtual void OnClearServerDataSucceeded() OVERRIDE;
54 virtual void OnClearServerDataFailed() OVERRIDE;
55 virtual void OnActionableError( 53 virtual void OnActionableError(
56 const browser_sync::SyncProtocolError& sync_protocol_error) OVERRIDE; 54 const browser_sync::SyncProtocolError& sync_protocol_error) OVERRIDE;
57 55
58 private: 56 private:
59 void HandleJsEvent(const tracked_objects::Location& from_here, 57 void HandleJsEvent(const tracked_objects::Location& from_here,
60 const std::string& name, const JsEventDetails& details); 58 const std::string& name, const JsEventDetails& details);
61 59
62 WeakHandle<JsEventHandler> event_handler_; 60 WeakHandle<JsEventHandler> event_handler_;
63 61
64 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver); 62 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver);
65 }; 63 };
66 64
67 } // namespace browser_sync 65 } // namespace browser_sync
68 66
69 #endif // SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ 67 #endif // SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_
OLDNEW
« no previous file with comments | « sync/internal_api/debug_info_event_listener.cc ('k') | sync/internal_api/js_sync_manager_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698