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 #include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h" | 5 #include "chrome/browser/sync_file_system/mock_remote_file_sync_service.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/message_loop/message_loop_proxy.h" | 11 #include "base/message_loop/message_loop_proxy.h" |
12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
13 #include "webkit/fileapi/file_system_url.h" | 13 #include "webkit/browser/fileapi/file_system_url.h" |
14 | 14 |
15 using ::testing::_; | 15 using ::testing::_; |
16 using ::testing::Invoke; | 16 using ::testing::Invoke; |
17 using ::testing::Return; | 17 using ::testing::Return; |
18 | 18 |
19 namespace sync_file_system { | 19 namespace sync_file_system { |
20 | 20 |
21 const char MockRemoteFileSyncService::kServiceName[] = "mock_sync_service"; | 21 const char MockRemoteFileSyncService::kServiceName[] = "mock_sync_service"; |
22 | 22 |
23 MockRemoteFileSyncService::MockRemoteFileSyncService() | 23 MockRemoteFileSyncService::MockRemoteFileSyncService() |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 conflict_resolution_policy_ = policy; | 123 conflict_resolution_policy_ = policy; |
124 return SYNC_STATUS_OK; | 124 return SYNC_STATUS_OK; |
125 } | 125 } |
126 | 126 |
127 ConflictResolutionPolicy | 127 ConflictResolutionPolicy |
128 MockRemoteFileSyncService::GetConflictResolutionPolicyStub() const { | 128 MockRemoteFileSyncService::GetConflictResolutionPolicyStub() const { |
129 return conflict_resolution_policy_; | 129 return conflict_resolution_policy_; |
130 } | 130 } |
131 | 131 |
132 } // namespace sync_file_system | 132 } // namespace sync_file_system |
OLD | NEW |