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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 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 #include "chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.h" 5 #include "chrome/browser/sync_file_system/drive_backend_v1/fake_api_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
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 "chrome/browser/google_apis/drive_entry_kinds.h" 12 #include "google_apis/drive/drive_entry_kinds.h"
13 #include "webkit/common/blob/scoped_file.h" 13 #include "webkit/common/blob/scoped_file.h"
14 14
15 namespace sync_file_system { 15 namespace sync_file_system {
16 namespace drive_backend { 16 namespace drive_backend {
17 17
18 bool FakeAPIUtil::RemoteResourceComparator::operator()( 18 bool FakeAPIUtil::RemoteResourceComparator::operator()(
19 const RemoteResource& left, 19 const RemoteResource& left,
20 const RemoteResource& right) { 20 const RemoteResource& right) {
21 if (left.parent_resource_id != right.parent_resource_id) 21 if (left.parent_resource_id != right.parent_resource_id)
22 return left.parent_resource_id < right.parent_resource_id; 22 return left.parent_resource_id < right.parent_resource_id;
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 case SYNC_FILE_TYPE_UNKNOWN: 267 case SYNC_FILE_TYPE_UNKNOWN:
268 entry->set_kind(google_apis::ENTRY_KIND_UNKNOWN); 268 entry->set_kind(google_apis::ENTRY_KIND_UNKNOWN);
269 break; 269 break;
270 } 270 }
271 271
272 return entry.Pass(); 272 return entry.Pass();
273 } 273 }
274 274
275 } // namespace drive_backend 275 } // namespace drive_backend
276 } // namespace sync_file_system 276 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698