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

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

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 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H_
7 7
8 #include <stdint.h>
9
10 #include "base/macros.h"
8 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
9 #include "base/sequence_checker.h" 12 #include "base/sequence_checker.h"
10 #include "components/drive/service/drive_service_interface.h" 13 #include "components/drive/service/drive_service_interface.h"
11 14
12 namespace sync_file_system { 15 namespace sync_file_system {
13 namespace drive_backend { 16 namespace drive_backend {
14 17
15 // This class wraps a part of DriveServiceInterface class to support weak 18 // This class wraps a part of DriveServiceInterface class to support weak
16 // pointer. Each method wraps corresponding name method of 19 // pointer. Each method wraps corresponding name method of
17 // DriveServiceInterface. See comments in drive_service_interface.h 20 // DriveServiceInterface. See comments in drive_service_interface.h
(...skipping 15 matching lines...) Expand all
33 void DownloadFile( 36 void DownloadFile(
34 const base::FilePath& local_cache_path, 37 const base::FilePath& local_cache_path,
35 const std::string& resource_id, 38 const std::string& resource_id,
36 const google_apis::DownloadActionCallback& download_action_callback, 39 const google_apis::DownloadActionCallback& download_action_callback,
37 const google_apis::GetContentCallback& get_content_callback, 40 const google_apis::GetContentCallback& get_content_callback,
38 const google_apis::ProgressCallback& progress_callback); 41 const google_apis::ProgressCallback& progress_callback);
39 42
40 void GetAboutResource( 43 void GetAboutResource(
41 const google_apis::AboutResourceCallback& callback); 44 const google_apis::AboutResourceCallback& callback);
42 45
43 void GetChangeList( 46 void GetChangeList(int64_t start_changestamp,
44 int64 start_changestamp, 47 const google_apis::ChangeListCallback& callback);
45 const google_apis::ChangeListCallback& callback);
46 48
47 void GetRemainingChangeList( 49 void GetRemainingChangeList(
48 const GURL& next_link, 50 const GURL& next_link,
49 const google_apis::ChangeListCallback& callback); 51 const google_apis::ChangeListCallback& callback);
50 52
51 void GetRemainingFileList( 53 void GetRemainingFileList(
52 const GURL& next_link, 54 const GURL& next_link,
53 const google_apis::FileListCallback& callback); 55 const google_apis::FileListCallback& callback);
54 56
55 void GetFileResource( 57 void GetFileResource(
(...skipping 18 matching lines...) Expand all
74 drive::DriveServiceInterface* drive_service_; 76 drive::DriveServiceInterface* drive_service_;
75 base::SequenceChecker sequece_checker_; 77 base::SequenceChecker sequece_checker_;
76 78
77 DISALLOW_COPY_AND_ASSIGN(DriveServiceWrapper); 79 DISALLOW_COPY_AND_ASSIGN(DriveServiceWrapper);
78 }; 80 };
79 81
80 } // namespace drive_backend 82 } // namespace drive_backend
81 } // namespace sync_file_system 83 } // namespace sync_file_system
82 84
83 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H _ 85 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_SERVICE_WRAPPER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698