| 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 COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_H_ | 5 #ifndef COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_H_ |
| 6 #define COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_H_ | 6 #define COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "google_apis/gaia/oauth2_token_service.h" | 34 #include "google_apis/gaia/oauth2_token_service.h" |
| 35 | 35 |
| 36 class GURL; | 36 class GURL; |
| 37 | 37 |
| 38 namespace base { | 38 namespace base { |
| 39 namespace trace_event { | 39 namespace trace_event { |
| 40 class ProcessMemoryDump; | 40 class ProcessMemoryDump; |
| 41 } // namespace trace_event | 41 } // namespace trace_event |
| 42 } // namespace base | 42 } // namespace base |
| 43 | 43 |
| 44 namespace sync_pb { | |
| 45 class EncryptedData; | |
| 46 } // namespace sync_pb | |
| 47 | |
| 48 namespace syncer { | 44 namespace syncer { |
| 49 | 45 |
| 50 class BaseTransaction; | 46 class BaseTransaction; |
| 51 class CancelationSignal; | 47 class CancelationSignal; |
| 52 class DataTypeDebugInfoListener; | 48 class DataTypeDebugInfoListener; |
| 53 class Encryptor; | 49 class Encryptor; |
| 54 class EngineComponentsFactory; | 50 class EngineComponentsFactory; |
| 55 class ExtensionsActivity; | 51 class ExtensionsActivity; |
| 56 class JsBackend; | 52 class JsBackend; |
| 57 class JsEventHandler; | 53 class JsEventHandler; |
| 58 class ProtocolEvent; | 54 class ProtocolEvent; |
| 59 class SyncCycleSnapshot; | 55 class SyncCycleSnapshot; |
| 60 class SyncEncryptionHandler; | 56 class SyncEncryptionHandler; |
| 61 class SyncScheduler; | |
| 62 class TypeDebugInfoObserver; | 57 class TypeDebugInfoObserver; |
| 63 class UnrecoverableErrorHandler; | 58 class UnrecoverableErrorHandler; |
| 64 struct Experiments; | 59 struct Experiments; |
| 65 struct UserShare; | 60 struct UserShare; |
| 66 | 61 |
| 67 // Contains everything needed to talk to and identify a user account. | 62 // Contains everything needed to talk to and identify a user account. |
| 68 struct SyncCredentials { | 63 struct SyncCredentials { |
| 69 SyncCredentials(); | 64 SyncCredentials(); |
| 70 SyncCredentials(const SyncCredentials& other); | 65 SyncCredentials(const SyncCredentials& other); |
| 71 ~SyncCredentials(); | 66 ~SyncCredentials(); |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 // Note: this does not trigger a sync cycle. It just updates the sync context. | 402 // Note: this does not trigger a sync cycle. It just updates the sync context. |
| 408 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0; | 403 virtual void OnCookieJarChanged(bool account_mismatch, bool empty_jar) = 0; |
| 409 | 404 |
| 410 // Adds memory usage statistics to |pmd| for chrome://tracing. | 405 // Adds memory usage statistics to |pmd| for chrome://tracing. |
| 411 virtual void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) = 0; | 406 virtual void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd) = 0; |
| 412 }; | 407 }; |
| 413 | 408 |
| 414 } // namespace syncer | 409 } // namespace syncer |
| 415 | 410 |
| 416 #endif // COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_H_ | 411 #endif // COMPONENTS_SYNC_ENGINE_SYNC_MANAGER_H_ |
| OLD | NEW |