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

Side by Side Diff: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h

Issue 279213002: [fsp] Add support for closing files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 7 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
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROV IDER_API_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROV IDER_API_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROV IDER_API_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_PROV IDER_API_H_
7 7
8 #include "chrome/browser/chromeos/extensions/file_system_provider/provider_funct ion.h" 8 #include "chrome/browser/chromeos/extensions/file_system_provider/provider_funct ion.h"
9 #include "chrome/browser/extensions/chrome_extension_function.h" 9 #include "chrome/browser/extensions/chrome_extension_function.h"
10 10
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 public: 119 public:
120 DECLARE_EXTENSION_FUNCTION( 120 DECLARE_EXTENSION_FUNCTION(
121 "fileSystemProviderInternal.openFileRequestedError", 121 "fileSystemProviderInternal.openFileRequestedError",
122 FILESYSTEMPROVIDERINTERNAL_OPENFILEREQUESTEDERROR) 122 FILESYSTEMPROVIDERINTERNAL_OPENFILEREQUESTEDERROR)
123 123
124 protected: 124 protected:
125 virtual ~FileSystemProviderInternalOpenFileRequestedErrorFunction() {} 125 virtual ~FileSystemProviderInternalOpenFileRequestedErrorFunction() {}
126 virtual bool RunWhenValid() OVERRIDE; 126 virtual bool RunWhenValid() OVERRIDE;
127 }; 127 };
128 128
129 class FileSystemProviderInternalCloseFileRequestedSuccessFunction
130 : public FileSystemProviderInternalFunction {
131 public:
132 DECLARE_EXTENSION_FUNCTION(
133 "fileSystemProviderInternal.closeFileRequestedSuccess",
134 FILESYSTEMPROVIDERINTERNAL_CLOSEFILEREQUESTEDSUCCESS)
135
136 protected:
137 virtual ~FileSystemProviderInternalCloseFileRequestedSuccessFunction() {}
138 virtual bool RunWhenValid() OVERRIDE;
139 };
140
141 class FileSystemProviderInternalCloseFileRequestedErrorFunction
142 : public FileSystemProviderInternalFunction {
143 public:
144 DECLARE_EXTENSION_FUNCTION(
145 "fileSystemProviderInternal.closeFileRequestedError",
146 FILESYSTEMPROVIDERINTERNAL_CLOSEFILEREQUESTEDERROR)
147
148 protected:
149 virtual ~FileSystemProviderInternalCloseFileRequestedErrorFunction() {}
150 virtual bool RunWhenValid() OVERRIDE;
151 };
152
129 } // namespace extensions 153 } // namespace extensions
130 154
131 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_P ROVIDER_API_H_ 155 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_SYSTEM_PROVIDER_FILE_SYSTEM_P ROVIDER_API_H_
OLDNEW
« 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