Index: chrome/renderer/extensions/file_system_provider_natives.h |
diff --git a/chrome/renderer/extensions/file_system_provider_natives.h b/chrome/renderer/extensions/file_system_provider_natives.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ee356568ca942c75861e29c3862864de798a98a4 |
--- /dev/null |
+++ b/chrome/renderer/extensions/file_system_provider_natives.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_RENDERER_EXTENSIONS_FILE_SYSTEM_PROVIDER_NATIVES_H_ |
+#define CHROME_RENDERER_EXTENSIONS_FILE_SYSTEM_PROVIDER_NATIVES_H_ |
+ |
+#include "chrome/renderer/extensions/object_backed_native_handler.h" |
+#include "v8/include/v8.h" |
+ |
+namespace extensions { |
+ |
+// Implements custom bindings for fileSystemProvider API. |
+class fileSystemProviderNatives : public ObjectBackedNativeHandler { |
+ public: |
+ explicit fileSystemProviderNatives(ChromeV8Context* context); |
+ |
+ private: |
+ // Constructs a DOMError object to be used in JavaScript. |
+ void GetDOMError(const v8::FunctionCallbackInfo<v8::Value>& args); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(fileSystemProviderNatives); |
+}; |
+ |
+} // namespace extensions |
+ |
+#endif // CHROME_RENDERER_EXTENSIONS_FILE_SYSTEM_PROVIDER_NATIVES_H_ |