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

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

Issue 8386031: Move chromeos_mount.cc from libcros to Chrome tree (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up format Created 9 years, 1 month 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>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/platform_file.h" 13 #include "base/platform_file.h"
14 #include "chrome/browser/extensions/extension_function.h" 14 #include "chrome/browser/extensions/extension_function.h"
15 #include "chrome/browser/ui/shell_dialogs.h" 15 #include "chrome/browser/ui/shell_dialogs.h"
16 #include "googleurl/src/url_util.h" 16 #include "googleurl/src/url_util.h"
17 #include "webkit/fileapi/file_system_callback_dispatcher.h" 17 #include "webkit/fileapi/file_system_callback_dispatcher.h"
18 18
19 #ifdef OS_CHROMEOS 19 #ifdef OS_CHROMEOS
20 #include "chrome/browser/chromeos/cros/mount_library.h" 20 #include "chrome/browser/chromeos/dbus/cros_disks_client.h"
21 #endif 21 #endif
22 22
23 class GURL; 23 class GURL;
24 24
25 // Implements the chrome.fileBrowserPrivate.requestLocalFileSystem method. 25 // Implements the chrome.fileBrowserPrivate.requestLocalFileSystem method.
26 class RequestLocalFileSystemFunction : public AsyncExtensionFunction { 26 class RequestLocalFileSystemFunction : public AsyncExtensionFunction {
27 protected: 27 protected:
28 friend class LocalFileSystemCallbackDispatcher; 28 friend class LocalFileSystemCallbackDispatcher;
29 // AsyncExtensionFunction overrides. 29 // AsyncExtensionFunction overrides.
30 virtual bool RunImpl() OVERRIDE; 30 virtual bool RunImpl() OVERRIDE;
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 virtual ~FileDialogStringsFunction() {} 348 virtual ~FileDialogStringsFunction() {}
349 349
350 // SyncExtensionFunction overrides. 350 // SyncExtensionFunction overrides.
351 virtual bool RunImpl() OVERRIDE; 351 virtual bool RunImpl() OVERRIDE;
352 352
353 private: 353 private:
354 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); 354 DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings");
355 }; 355 };
356 356
357 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_ 357 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_FILE_BROWSER_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698