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

Side by Side Diff: chrome/browser/extensions/extension_file_browser_private_api.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 struct FileDefinition { 97 struct FileDefinition {
98 GURL target_file_url; 98 GURL target_file_url;
99 FilePath virtual_path; 99 FilePath virtual_path;
100 bool is_directory; 100 bool is_directory;
101 }; 101 };
102 typedef std::vector<FileDefinition> FileDefinitionList; 102 typedef std::vector<FileDefinition> FileDefinitionList;
103 friend class ExecuteTasksFileSystemCallbackDispatcher; 103 friend class ExecuteTasksFileSystemCallbackDispatcher;
104 // Initates execution of context menu tasks identified with |task_id| for 104 // Initates execution of context menu tasks identified with |task_id| for
105 // each element of |files_list|. 105 // each element of |files_list|.
106 bool InitiateFileTaskExecution(const std::string& task_id, 106 bool InitiateFileTaskExecution(const std::string& task_id,
107 ListValue* files_list); 107 base::ListValue* files_list);
108 void RequestFileEntryOnFileThread(const GURL& source_url, 108 void RequestFileEntryOnFileThread(const GURL& source_url,
109 const std::string& task_id, 109 const std::string& task_id,
110 const std::vector<GURL>& file_urls); 110 const std::vector<GURL>& file_urls);
111 void RespondFailedOnUIThread(base::PlatformFileError error_code); 111 void RespondFailedOnUIThread(base::PlatformFileError error_code);
112 void ExecuteFileActionsOnUIThread(const std::string& task_id, 112 void ExecuteFileActionsOnUIThread(const std::string& task_id,
113 const std::string& file_system_name, 113 const std::string& file_system_name,
114 const GURL& file_system_root, 114 const GURL& file_system_root,
115 const FileDefinitionList& file_list); 115 const FileDefinitionList& file_list);
116 void ExecuteFailedOnUIThread(); 116 void ExecuteFailedOnUIThread();
117 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.executeTask"); 117 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.executeTask");
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 virtual ~FileDialogStringsFunction() {} 260 virtual ~FileDialogStringsFunction() {}
261 261
262 // SyncExtensionFunction overrides. 262 // SyncExtensionFunction overrides.
263 virtual bool RunImpl() OVERRIDE; 263 virtual bool RunImpl() OVERRIDE;
264 264
265 private: 265 private:
266 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); 266 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings");
267 }; 267 };
268 268
269 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ 269 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_debugger_api.h ('k') | chrome/browser/extensions/extension_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698