OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_SYNC_GLUE_FAKE_GENERIC_CHANGE_PROCESSOR_H_ | 5 #ifndef CHROME_BROWSER_SYNC_GLUE_FAKE_GENERIC_CHANGE_PROCESSOR_H_ |
6 #define CHROME_BROWSER_SYNC_GLUE_FAKE_GENERIC_CHANGE_PROCESSOR_H_ | 6 #define CHROME_BROWSER_SYNC_GLUE_FAKE_GENERIC_CHANGE_PROCESSOR_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/sync/glue/generic_change_processor.h" | 8 #include "chrome/browser/sync/glue/generic_change_processor.h" |
10 | 9 |
11 #include "sync/api/sync_error.h" | 10 #include "sync/api/sync_error.h" |
12 | 11 |
13 namespace browser_sync { | 12 namespace browser_sync { |
14 | 13 |
15 // A fake GenericChangeProcessor that can return arbitrary values. | 14 // A fake GenericChangeProcessor that can return arbitrary values. |
16 class FakeGenericChangeProcessor : public GenericChangeProcessor { | 15 class FakeGenericChangeProcessor : public GenericChangeProcessor { |
17 public: | 16 public: |
(...skipping 23 matching lines...) Expand all Loading... |
41 syncer::SyncError get_sync_data_for_type_error_; | 40 syncer::SyncError get_sync_data_for_type_error_; |
42 bool sync_model_has_user_created_nodes_; | 41 bool sync_model_has_user_created_nodes_; |
43 bool sync_model_has_user_created_nodes_success_; | 42 bool sync_model_has_user_created_nodes_success_; |
44 bool crypto_ready_if_necessary_; | 43 bool crypto_ready_if_necessary_; |
45 syncer::ModelType type_; | 44 syncer::ModelType type_; |
46 }; | 45 }; |
47 | 46 |
48 } // namespace browser_sync | 47 } // namespace browser_sync |
49 | 48 |
50 #endif // CHROME_BROWSER_SYNC_GLUE_FAKE_GENERIC_CHANGE_PROCESSOR_H_ | 49 #endif // CHROME_BROWSER_SYNC_GLUE_FAKE_GENERIC_CHANGE_PROCESSOR_H_ |
OLD | NEW |