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

Side by Side Diff: chrome/browser/chromeos/drive/file_task_executor.h

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 (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_DRIVE_FILE_TASK_EXECUTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "chrome/browser/chromeos/drive/file_errors.h" 13 #include "chrome/browser/chromeos/drive/file_errors.h"
14 #include "chrome/browser/chromeos/file_manager/file_tasks.h" 14 #include "chrome/browser/chromeos/file_manager/file_tasks.h"
15 #include "chrome/browser/google_apis/gdata_errorcode.h" 15 #include "google_apis/drive/gdata_errorcode.h"
16 16
17 namespace drive { 17 namespace drive {
18 18
19 class ResourceEntry; 19 class ResourceEntry;
20 20
21 // This class implements an "executor" class that will execute tasks for 21 // This class implements an "executor" class that will execute tasks for
22 // third party Drive apps that store data in Drive itself. To do that, it 22 // third party Drive apps that store data in Drive itself. To do that, it
23 // needs to find the file resource IDs and pass them to a server-side function 23 // needs to find the file resource IDs and pass them to a server-side function
24 // that will authorize the app to open the given document and return a URL 24 // that will authorize the app to open the given document and return a URL
25 // for opening the document in that app directly. 25 // for opening the document in that app directly.
(...skipping 21 matching lines...) Expand all
47 std::string app_id_; 47 std::string app_id_;
48 int current_index_; 48 int current_index_;
49 file_manager::file_tasks::FileTaskFinishedCallback done_; 49 file_manager::file_tasks::FileTaskFinishedCallback done_;
50 50
51 base::WeakPtrFactory<FileTaskExecutor> weak_ptr_factory_; 51 base::WeakPtrFactory<FileTaskExecutor> weak_ptr_factory_;
52 }; 52 };
53 53
54 } // namespace drive 54 } // namespace drive
55 55
56 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_ 56 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_TASK_EXECUTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_util_unittest.cc ('k') | chrome/browser/chromeos/drive/file_write_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698