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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/private_api_misc.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, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
index 922864d2245fdd4506c684c6e1a45e7cbcf7e9ad..1e2733a7762cf62d779bb234fef6679c22c63599 100644
--- a/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
+++ b/chrome/browser/chromeos/extensions/file_manager/private_api_misc.h
@@ -11,7 +11,7 @@
#include "chrome/browser/chromeos/extensions/file_manager/private_api_base.h"
#include "chrome/browser/chromeos/extensions/file_manager/zip_file_creator.h"
-namespace file_manager {
+namespace extensions {
// Implements the chrome.fileBrowserPrivate.logoutUser method.
class LogoutUserFunction : public SyncExtensionFunction {
@@ -61,7 +61,7 @@ class SetPreferencesFunction : public SyncExtensionFunction {
// Implements the chrome.fileBrowserPrivate.zipSelection method.
// Creates a zip file for the selected files.
class ZipSelectionFunction : public LoggedAsyncExtensionFunction,
- public ZipFileCreator::Observer {
+ public file_manager::ZipFileCreator::Observer {
public:
DECLARE_EXTENSION_FUNCTION("fileBrowserPrivate.zipSelection",
FILEBROWSERPRIVATE_ZIPSELECTION)
@@ -78,7 +78,7 @@ class ZipSelectionFunction : public LoggedAsyncExtensionFunction,
virtual void OnZipDone(bool success) OVERRIDE;
private:
- scoped_refptr<ZipFileCreator> zip_file_creator_;
+ scoped_refptr<file_manager::ZipFileCreator> zip_file_creator_;
};
// Implements the chrome.fileBrowserPrivate.zoom method.
@@ -97,6 +97,6 @@ class ZoomFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
-} // namespace file_manager
+} // namespace extensions
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_MISC_H_

Powered by Google App Engine
This is Rietveld 408576698