OLD | NEW |
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_SYNC_MANAGER_H_ | 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 // Returned pointer is owned by the caller. | 267 // Returned pointer is owned by the caller. |
268 static base::DictionaryValue* NotificationInfoToValue( | 268 static base::DictionaryValue* NotificationInfoToValue( |
269 const NotificationInfoMap& notification_info); | 269 const NotificationInfoMap& notification_info); |
270 | 270 |
271 static std::string NotificationInfoToString( | 271 static std::string NotificationInfoToString( |
272 const NotificationInfoMap& notification_info); | 272 const NotificationInfoMap& notification_info); |
273 | 273 |
274 // JS message handlers. | 274 // JS message handlers. |
275 JsArgList GetNotificationState(const JsArgList& args); | 275 JsArgList GetNotificationState(const JsArgList& args); |
276 JsArgList GetNotificationInfo(const JsArgList& args); | 276 JsArgList GetNotificationInfo(const JsArgList& args); |
277 JsArgList GetRootNodeDetails(const JsArgList& args); | |
278 JsArgList GetAllNodes(const JsArgList& args); | 277 JsArgList GetAllNodes(const JsArgList& args); |
279 JsArgList GetNodeSummariesById(const JsArgList& args); | 278 JsArgList GetNodeSummariesById(const JsArgList& args); |
280 JsArgList GetNodeDetailsById(const JsArgList& args); | 279 JsArgList GetNodeDetailsById(const JsArgList& args); |
281 JsArgList GetChildNodeIds(const JsArgList& args); | 280 JsArgList GetChildNodeIds(const JsArgList& args); |
282 JsArgList GetClientServerTraffic(const JsArgList& args); | 281 JsArgList GetClientServerTraffic(const JsArgList& args); |
283 | 282 |
284 syncable::Directory* directory(); | 283 syncable::Directory* directory(); |
285 | 284 |
286 base::FilePath database_path_; | 285 base::FilePath database_path_; |
287 | 286 |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; | 369 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; |
371 | 370 |
372 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; | 371 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; |
373 | 372 |
374 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); | 373 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); |
375 }; | 374 }; |
376 | 375 |
377 } // namespace syncer | 376 } // namespace syncer |
378 | 377 |
379 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ | 378 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ |
OLD | NEW |