| 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_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ | 5 #ifndef SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ | 6 #define SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/message_loop.h" | 15 #include "base/message_loop.h" |
| 16 #include "chrome/browser/sync/engine/model_changing_syncer_command.h" | 16 #include "sync/engine/model_changing_syncer_command.h" |
| 17 #include "chrome/browser/sync/engine/model_safe_worker.h" | 17 #include "sync/engine/model_safe_worker.h" |
| 18 #include "chrome/browser/sync/sessions/debug_info_getter.h" | 18 #include "sync/sessions/debug_info_getter.h" |
| 19 #include "chrome/browser/sync/sessions/sync_session.h" | 19 #include "sync/sessions/sync_session.h" |
| 20 #include "chrome/browser/sync/sessions/sync_session_context.h" | 20 #include "sync/sessions/sync_session_context.h" |
| 21 #include "chrome/browser/sync/syncable/syncable_mock.h" | 21 #include "sync/syncable/syncable_mock.h" |
| 22 #include "chrome/browser/sync/test/engine/mock_connection_manager.h" | 22 #include "sync/test/engine/mock_connection_manager.h" |
| 23 #include "chrome/browser/sync/test/engine/fake_model_worker.h" | 23 #include "sync/test/engine/fake_model_worker.h" |
| 24 #include "chrome/browser/sync/test/engine/test_directory_setter_upper.h" | 24 #include "sync/test/engine/test_directory_setter_upper.h" |
| 25 #include "chrome/browser/sync/test/fake_extensions_activity_monitor.h" | 25 #include "sync/test/fake_extensions_activity_monitor.h" |
| 26 #include "testing/gtest/include/gtest/gtest.h" | 26 #include "testing/gtest/include/gtest/gtest.h" |
| 27 #include "testing/gmock/include/gmock/gmock.h" | 27 #include "testing/gmock/include/gmock/gmock.h" |
| 28 | 28 |
| 29 using ::testing::NiceMock; | 29 using ::testing::NiceMock; |
| 30 | 30 |
| 31 namespace browser_sync { | 31 namespace browser_sync { |
| 32 | 32 |
| 33 class MockDebugInfoGetter : public browser_sync::sessions::DebugInfoGetter { | 33 class MockDebugInfoGetter : public browser_sync::sessions::DebugInfoGetter { |
| 34 public: | 34 public: |
| 35 MockDebugInfoGetter(); | 35 MockDebugInfoGetter(); |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 } | 223 } |
| 224 | 224 |
| 225 virtual void SetUp() OVERRIDE; | 225 virtual void SetUp() OVERRIDE; |
| 226 | 226 |
| 227 TestUnrecoverableErrorHandler handler_; | 227 TestUnrecoverableErrorHandler handler_; |
| 228 MockDirectory mock_directory_; | 228 MockDirectory mock_directory_; |
| 229 }; | 229 }; |
| 230 | 230 |
| 231 } // namespace browser_sync | 231 } // namespace browser_sync |
| 232 | 232 |
| 233 #endif // CHROME_BROWSER_SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ | 233 #endif // SYNC_TEST_ENGINE_SYNCER_COMMAND_TEST_H_ |
| OLD | NEW |