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

Unified Diff: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h

Issue 260943002: [fsp] Extract common code to FileSystemProvidedInternalFunction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
diff --git a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
index 7e7deb2d8f94f2cfbf9aa30ce2c46c5c82ff6fc4..728513c3ae0f29e25ebf192c2d117f7ca02be777 100644
--- a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
+++ b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
@@ -5,8 +5,8 @@
#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROVIDER_API_H_
#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROVIDER_API_H_
+#include "chrome/browser/chromeos/extensions/file_system_provider/provider_function.h"
#include "chrome/browser/extensions/chrome_extension_function.h"
-#include "chrome/common/extensions/api/file_system_provider.h"
namespace extensions {
@@ -31,11 +31,11 @@ class FileSystemProviderUnmountFunction : public ChromeSyncExtensionFunction {
};
class FileSystemProviderInternalUnmountRequestedSuccessFunction
- : public ChromeSyncExtensionFunction {
+ : public FileSystemProviderInternalFunction {
public:
DECLARE_EXTENSION_FUNCTION(
"fileSystemProviderInternal.unmountRequestedSuccess",
- FILESYSTEMPROVIDERINTERNAL_UNMOUNTREQUESTEDSUCCESS)
+ FILESYSTEMPROVIDERINTERNAL_GETMETADATAREQUESTEDSUCCESS)
protected:
virtual ~FileSystemProviderInternalUnmountRequestedSuccessFunction() {}
@@ -43,10 +43,11 @@ class FileSystemProviderInternalUnmountRequestedSuccessFunction
};
class FileSystemProviderInternalUnmountRequestedErrorFunction
- : public ChromeSyncExtensionFunction {
+ : public FileSystemProviderInternalFunction {
public:
- DECLARE_EXTENSION_FUNCTION("fileSystemProviderInternal.unmountRequestedError",
- FILESYSTEMPROVIDERINTERNAL_UNMOUNTREQUESTEDERROR)
+ DECLARE_EXTENSION_FUNCTION(
+ "fileSystemProviderInternal.unmountRequestedError",
+ FILESYSTEMPROVIDERINTERNAL_GETMETADATAREQUESTEDERROR)
protected:
virtual ~FileSystemProviderInternalUnmountRequestedErrorFunction() {}
@@ -54,7 +55,7 @@ class FileSystemProviderInternalUnmountRequestedErrorFunction
};
class FileSystemProviderInternalGetMetadataRequestedSuccessFunction
- : public ChromeSyncExtensionFunction {
+ : public FileSystemProviderInternalFunction {
public:
DECLARE_EXTENSION_FUNCTION(
"fileSystemProviderInternal.getMetadataRequestedSuccess",
@@ -66,7 +67,7 @@ class FileSystemProviderInternalGetMetadataRequestedSuccessFunction
};
class FileSystemProviderInternalGetMetadataRequestedErrorFunction
- : public ChromeSyncExtensionFunction {
+ : public FileSystemProviderInternalFunction {
public:
DECLARE_EXTENSION_FUNCTION(
"fileSystemProviderInternal.getMetadataRequestedError",
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698