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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/drive_service_wrapper.h" 5 #include "chrome/browser/sync_file_system/drive_backend/drive_service_wrapper.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "components/drive/service/drive_service_interface.h" 10 #include "components/drive/service/drive_service_interface.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 progress_callback); 54 progress_callback);
55 } 55 }
56 56
57 void DriveServiceWrapper::GetAboutResource( 57 void DriveServiceWrapper::GetAboutResource(
58 const google_apis::AboutResourceCallback& callback) { 58 const google_apis::AboutResourceCallback& callback) {
59 DCHECK(sequece_checker_.CalledOnValidSequencedThread()); 59 DCHECK(sequece_checker_.CalledOnValidSequencedThread());
60 drive_service_->GetAboutResource(callback); 60 drive_service_->GetAboutResource(callback);
61 } 61 }
62 62
63 void DriveServiceWrapper::GetChangeList( 63 void DriveServiceWrapper::GetChangeList(
64 int64 start_changestamp, 64 int64_t start_changestamp,
65 const google_apis::ChangeListCallback& callback) { 65 const google_apis::ChangeListCallback& callback) {
66 DCHECK(sequece_checker_.CalledOnValidSequencedThread()); 66 DCHECK(sequece_checker_.CalledOnValidSequencedThread());
67 drive_service_->GetChangeList(start_changestamp, callback); 67 drive_service_->GetChangeList(start_changestamp, callback);
68 } 68 }
69 69
70 void DriveServiceWrapper::GetRemainingChangeList( 70 void DriveServiceWrapper::GetRemainingChangeList(
71 const GURL& next_link, 71 const GURL& next_link,
72 const google_apis::ChangeListCallback& callback) { 72 const google_apis::ChangeListCallback& callback) {
73 DCHECK(sequece_checker_.CalledOnValidSequencedThread()); 73 DCHECK(sequece_checker_.CalledOnValidSequencedThread());
74 drive_service_->GetRemainingChangeList(next_link, callback); 74 drive_service_->GetRemainingChangeList(next_link, callback);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 const std::string& title, 108 const std::string& title,
109 const std::string& directory_resource_id, 109 const std::string& directory_resource_id,
110 const google_apis::FileListCallback& callback) { 110 const google_apis::FileListCallback& callback) {
111 DCHECK(sequece_checker_.CalledOnValidSequencedThread()); 111 DCHECK(sequece_checker_.CalledOnValidSequencedThread());
112 drive_service_->SearchByTitle( 112 drive_service_->SearchByTitle(
113 title, directory_resource_id, callback); 113 title, directory_resource_id, callback);
114 } 114 }
115 115
116 } // namespace drive_backend 116 } // namespace drive_backend
117 } // namespace sync_file_system 117 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698