| 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_MOCK_H_ |    5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 
|    6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |    6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 
|    7  |    7  | 
|    8 #include <string> |    8 #include <string> | 
|    9  |    9  | 
|   10 #include "base/callback.h" |   10 #include "base/callback.h" | 
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   86   virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; |   86   virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; | 
|   87  |   87  | 
|   88   virtual bool IsCryptographerReady( |   88   virtual bool IsCryptographerReady( | 
|   89       const syncer::BaseTransaction* trans) const OVERRIDE; |   89       const syncer::BaseTransaction* trans) const OVERRIDE; | 
|   90  |   90  | 
|   91   virtual void GetModelSafeRoutingInfo( |   91   virtual void GetModelSafeRoutingInfo( | 
|   92       syncer::ModelSafeRoutingInfo* out) const OVERRIDE; |   92       syncer::ModelSafeRoutingInfo* out) const OVERRIDE; | 
|   93  |   93  | 
|   94   virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE; |   94   virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE; | 
|   95  |   95  | 
|   96   virtual void SetForwardProtocolEvents(bool enabled) OVERRIDE; |   96   virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE; | 
 |   97   virtual void DisableProtocolEventForwarding() OVERRIDE; | 
|   97  |   98  | 
|   98   virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; |   99   virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; | 
|   99  |  100  | 
|  100   void set_fail_initial_download(bool should_fail); |  101   void set_fail_initial_download(bool should_fail); | 
|  101  |  102  | 
|  102  private: |  103  private: | 
|  103   bool fail_initial_download_; |  104   bool fail_initial_download_; | 
|  104 }; |  105 }; | 
|  105  |  106  | 
|  106 }  // namespace browser_sync |  107 }  // namespace browser_sync | 
|  107  |  108  | 
|  108 #endif  // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ |  109 #endif  // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ | 
| OLD | NEW |