| OLD | NEW | 
|    1 // Copyright 2013 The Chromium Authors. All rights reserved. |    1 // Copyright 2013 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 CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |    5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 
|    6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |    6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 
|    7  |    7  | 
|    8 #include <string> |    8 #include <string> | 
|    9  |    9  | 
|   10 #include "base/basictypes.h" |   10 #include "base/basictypes.h" | 
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  117       GetLastSessionSnapshot() const OVERRIDE; |  117       GetLastSessionSnapshot() const OVERRIDE; | 
|  118   virtual bool HasUnsyncedItems() const OVERRIDE; |  118   virtual bool HasUnsyncedItems() const OVERRIDE; | 
|  119   virtual bool IsNigoriEnabled() const OVERRIDE; |  119   virtual bool IsNigoriEnabled() const OVERRIDE; | 
|  120   virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; |  120   virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; | 
|  121   virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; |  121   virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; | 
|  122   virtual bool IsCryptographerReady( |  122   virtual bool IsCryptographerReady( | 
|  123       const syncer::BaseTransaction* trans) const OVERRIDE; |  123       const syncer::BaseTransaction* trans) const OVERRIDE; | 
|  124   virtual void GetModelSafeRoutingInfo( |  124   virtual void GetModelSafeRoutingInfo( | 
|  125       syncer::ModelSafeRoutingInfo* out) const OVERRIDE; |  125       syncer::ModelSafeRoutingInfo* out) const OVERRIDE; | 
|  126   virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE; |  126   virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE; | 
|  127   virtual void SetForwardProtocolEvents(bool forward) OVERRIDE; |  127   virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE; | 
 |  128   virtual void DisableProtocolEventForwarding() OVERRIDE; | 
|  128   virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; |  129   virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; | 
|  129  |  130  | 
|  130  protected: |  131  protected: | 
|  131   // The types and functions below are protected so that test |  132   // The types and functions below are protected so that test | 
|  132   // subclasses can use them. |  133   // subclasses can use them. | 
|  133  |  134  | 
|  134   // Allows tests to perform alternate core initialization work. |  135   // Allows tests to perform alternate core initialization work. | 
|  135   virtual void InitCore(scoped_ptr<DoInitializeOptions> options); |  136   virtual void InitCore(scoped_ptr<DoInitializeOptions> options); | 
|  136  |  137  | 
|  137   // Request the syncer to reconfigure with the specfied params. |  138   // Request the syncer to reconfigure with the specfied params. | 
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  325  |  326  | 
|  326   base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; |  327   base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; | 
|  327  |  328  | 
|  328   DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); |  329   DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); | 
|  329 }; |  330 }; | 
|  330  |  331  | 
|  331 }  // namespace browser_sync |  332 }  // namespace browser_sync | 
|  332  |  333  | 
|  333 #endif  // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ |  334 #endif  // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ | 
|  334  |  335  | 
| OLD | NEW |