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

Side by Side Diff: chrome/browser/chromeos/gdata/drive_upload_file_info.h

Issue 10913184: Move basic operation components for Drive API to chrome/browser/google_apis directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 3 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 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" 14 #include "chrome/browser/google_apis/gdata_errorcode.h"
15 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
17 17
18 namespace content { 18 namespace content {
19 class DownloadItem; 19 class DownloadItem;
20 } 20 }
21 21
22 namespace net { 22 namespace net {
23 class FileStream; 23 class FileStream;
24 } 24 }
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 // Callback to be invoked once the upload has completed. 92 // Callback to be invoked once the upload has completed.
93 typedef base::Callback<void(DriveFileError error, 93 typedef base::Callback<void(DriveFileError error,
94 scoped_ptr<UploadFileInfo> upload_file_info)> UploadCompletionCallback; 94 scoped_ptr<UploadFileInfo> upload_file_info)> UploadCompletionCallback;
95 UploadCompletionCallback completion_callback; 95 UploadCompletionCallback completion_callback;
96 }; 96 };
97 97
98 } // namespace gdata 98 } // namespace gdata
99 99
100 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_ 100 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_UPLOAD_FILE_INFO_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_test_util.h ('k') | chrome/browser/chromeos/gdata/drive_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698