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

Side by Side Diff: chrome/browser/chromeos/drive/file_system/download_operation.h

Issue 881403003: Rename gdata_errorcode.h to drive_api_error_codes.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typos in BUILD.gn Created 5 years, 10 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 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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/chromeos/drive/file_errors.h" 10 #include "chrome/browser/chromeos/drive/file_errors.h"
11 #include "chrome/browser/chromeos/drive/file_system_interface.h" 11 #include "chrome/browser/chromeos/drive/file_system_interface.h"
12 #include "chrome/browser/chromeos/drive/job_list.h" 12 #include "chrome/browser/chromeos/drive/job_list.h"
13 #include "google_apis/drive/gdata_errorcode.h" 13 #include "google_apis/drive/drive_api_error_codes.h"
14 14
15 namespace base { 15 namespace base {
16 class FilePath; 16 class FilePath;
17 class SequencedTaskRunner; 17 class SequencedTaskRunner;
18 } // namespace base 18 } // namespace base
19 19
20 namespace google_apis { 20 namespace google_apis {
21 class ResourceEntry; 21 class ResourceEntry;
22 } // namespace google_apis 22 } // namespace google_apis
23 23
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 const ClientContext& context, 89 const ClientContext& context,
90 base::FilePath* drive_file_path, 90 base::FilePath* drive_file_path,
91 base::FilePath* cache_file_path, 91 base::FilePath* cache_file_path,
92 base::FilePath* temp_download_file_path, 92 base::FilePath* temp_download_file_path,
93 FileError error); 93 FileError error);
94 94
95 // Part of EnsureFileDownloaded(). Called after the actual downloading. 95 // Part of EnsureFileDownloaded(). Called after the actual downloading.
96 void EnsureFileDownloadedAfterDownloadFile( 96 void EnsureFileDownloadedAfterDownloadFile(
97 const base::FilePath& drive_file_path, 97 const base::FilePath& drive_file_path,
98 scoped_ptr<DownloadParams> params, 98 scoped_ptr<DownloadParams> params,
99 google_apis::GDataErrorCode gdata_error, 99 google_apis::DriveApiErrorCode gdata_error,
100 const base::FilePath& downloaded_file_path); 100 const base::FilePath& downloaded_file_path);
101 101
102 // Part of EnsureFileDownloaded(). Called after updating local state is 102 // Part of EnsureFileDownloaded(). Called after updating local state is
103 // completed. 103 // completed.
104 void EnsureFileDownloadedAfterUpdateLocalState( 104 void EnsureFileDownloadedAfterUpdateLocalState(
105 const base::FilePath& file_path, 105 const base::FilePath& file_path,
106 scoped_ptr<DownloadParams> params, 106 scoped_ptr<DownloadParams> params,
107 scoped_ptr<ResourceEntry> entry_after_update, 107 scoped_ptr<ResourceEntry> entry_after_update,
108 base::FilePath* cache_file_path, 108 base::FilePath* cache_file_path,
109 FileError error); 109 FileError error);
(...skipping 11 matching lines...) Expand all
121 // Note: This should remain the last member so it'll be destroyed and 121 // Note: This should remain the last member so it'll be destroyed and
122 // invalidate its weak pointers before any other members are destroyed. 122 // invalidate its weak pointers before any other members are destroyed.
123 base::WeakPtrFactory<DownloadOperation> weak_ptr_factory_; 123 base::WeakPtrFactory<DownloadOperation> weak_ptr_factory_;
124 DISALLOW_COPY_AND_ASSIGN(DownloadOperation); 124 DISALLOW_COPY_AND_ASSIGN(DownloadOperation);
125 }; 125 };
126 126
127 } // namespace file_system 127 } // namespace file_system
128 } // namespace drive 128 } // namespace drive
129 129
130 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_ 130 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_DOWNLOAD_OPERATION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698