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

Side by Side Diff: chrome/browser/chromeos/file_manager/file_tasks.h

Issue 2685453002: Move file_handlers API from //chrome to //extensions (Closed)
Patch Set: rebase Created 3 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 (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 // This file provides utility functions for "file tasks". 5 // This file provides utility functions for "file tasks".
6 // 6 //
7 // WHAT ARE FILE TASKS? 7 // WHAT ARE FILE TASKS?
8 // 8 //
9 // File tasks are representation of actions that can be performed over the 9 // File tasks are representation of actions that can be performed over the
10 // currently selected files from the Files app. A task can be either of: 10 // currently selected files from the Files app. A task can be either of:
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_TASKS_H_ 111 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_TASKS_H_
112 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_TASKS_H_ 112 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_TASKS_H_
113 113
114 #include <memory> 114 #include <memory>
115 #include <set> 115 #include <set>
116 #include <string> 116 #include <string>
117 #include <vector> 117 #include <vector>
118 118
119 #include "base/callback_forward.h" 119 #include "base/callback_forward.h"
120 #include "chrome/browser/extensions/api/file_handlers/app_file_handler_util.h"
121 #include "chrome/common/extensions/api/file_manager_private.h" 120 #include "chrome/common/extensions/api/file_manager_private.h"
121 #include "extensions/browser/api/file_handlers/app_file_handler_util.h"
122 #include "url/gurl.h" 122 #include "url/gurl.h"
123 123
124 class PrefService; 124 class PrefService;
125 class Profile; 125 class Profile;
126 126
127 namespace drive { 127 namespace drive {
128 class DriveAppRegistry; 128 class DriveAppRegistry;
129 } 129 }
130 130
131 namespace extensions { 131 namespace extensions {
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 // task is found (i.e. the default task may not exist in |tasks|). No tasks 325 // task is found (i.e. the default task may not exist in |tasks|). No tasks
326 // should be set as default before calling this function. 326 // should be set as default before calling this function.
327 void ChooseAndSetDefaultTask(const PrefService& pref_service, 327 void ChooseAndSetDefaultTask(const PrefService& pref_service,
328 const std::vector<extensions::EntryInfo>& entries, 328 const std::vector<extensions::EntryInfo>& entries,
329 std::vector<FullTaskDescriptor>* tasks); 329 std::vector<FullTaskDescriptor>* tasks);
330 330
331 } // namespace file_tasks 331 } // namespace file_tasks
332 } // namespace file_manager 332 } // namespace file_manager
333 333
334 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_TASKS_H_ 334 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_FILE_TASKS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698