Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: chrome/browser/sync_file_system/mock_remote_file_sync_service.cc

Issue 15859007: Move browser-specific FileAPI code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dump_file_system build fix Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698