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

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

Issue 153643006: sync: Remove dead code related to ClearUserData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 22 matching lines...) Expand all
33 33
34 // SyncManager::Observer implementation. 34 // SyncManager::Observer implementation.
35 virtual void OnSyncCycleCompleted( 35 virtual void OnSyncCycleCompleted(
36 const sessions::SyncSessionSnapshot& snapshot) OVERRIDE; 36 const sessions::SyncSessionSnapshot& snapshot) OVERRIDE;
37 virtual void OnConnectionStatusChange(ConnectionStatus status) OVERRIDE; 37 virtual void OnConnectionStatusChange(ConnectionStatus status) OVERRIDE;
38 virtual void OnInitializationComplete( 38 virtual void OnInitializationComplete(
39 const WeakHandle<JsBackend>& js_backend, 39 const WeakHandle<JsBackend>& js_backend,
40 const WeakHandle<DataTypeDebugInfoListener>& debug_info_listener, 40 const WeakHandle<DataTypeDebugInfoListener>& debug_info_listener,
41 bool success, 41 bool success,
42 syncer::ModelTypeSet restored_types) OVERRIDE; 42 syncer::ModelTypeSet restored_types) OVERRIDE;
43 virtual void OnStopSyncingPermanently() OVERRIDE;
44 virtual void OnActionableError( 43 virtual void OnActionableError(
45 const SyncProtocolError& sync_protocol_error) OVERRIDE; 44 const SyncProtocolError& sync_protocol_error) OVERRIDE;
46 45
47 private: 46 private:
48 void HandleJsEvent(const tracked_objects::Location& from_here, 47 void HandleJsEvent(const tracked_objects::Location& from_here,
49 const std::string& name, const JsEventDetails& details); 48 const std::string& name, const JsEventDetails& details);
50 49
51 WeakHandle<JsEventHandler> event_handler_; 50 WeakHandle<JsEventHandler> event_handler_;
52 51
53 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver); 52 DISALLOW_COPY_AND_ASSIGN(JsSyncManagerObserver);
54 }; 53 };
55 54
56 } // namespace syncer 55 } // namespace syncer
57 56
58 #endif // SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_ 57 #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