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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_mount.h

Issue 23581006: Reland 220012: Move the functions of filebrowserPrivateApi from the file_manager namespace to the e… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 task related API functions. 5 // This file provides task related API functions.
6 6
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ 7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ 8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "chrome/browser/chromeos/drive/file_errors.h" 14 #include "chrome/browser/chromeos/drive/file_errors.h"
15 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h" 15 #include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h"
16 16
17 namespace ui { 17 namespace ui {
18 struct SelectedFileInfo; 18 struct SelectedFileInfo;
19 } 19 }
20 20
21 namespace file_manager { 21 namespace extensions {
22 22
23 // Implements chrome.fileBrowserPrivate.addMount method. 23 // Implements chrome.fileBrowserPrivate.addMount method.
24 // Mounts a device or a file. 24 // Mounts a device or a file.
25 class AddMountFunction : public LoggedAsyncExtensionFunction { 25 class AddMountFunction : public LoggedAsyncExtensionFunction {
26 public: 26 public:
27 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.addMount", 27 DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.addMount",
28 FILEBROWSERPRIVATE_ADDMOUNT) 28 FILEBROWSERPRIVATE_ADDMOUNT)
29 29
30 AddMountFunction(); 30 AddMountFunction();
31 31
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 GetMountPointsFunction(); 73 GetMountPointsFunction();
74 74
75 protected: 75 protected:
76 virtual ~GetMountPointsFunction(); 76 virtual ~GetMountPointsFunction();
77 77
78 // AsyncExtensionFunction overrides. 78 // AsyncExtensionFunction overrides.
79 virtual bool RunImpl() OVERRIDE; 79 virtual bool RunImpl() OVERRIDE;
80 }; 80 };
81 81
82 } // namespace file_manager 82 } // namespace extensions
83 83
84 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_ 84 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MOUNT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698