Index: chrome/renderer/extensions/blob_native_handler.h |
diff --git a/chrome/renderer/extensions/blob_native_handler.h b/chrome/renderer/extensions/blob_native_handler.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..55b89fd161907151005111f42135025584bf34f7 |
--- /dev/null |
+++ b/chrome/renderer/extensions/blob_native_handler.h |
@@ -0,0 +1,23 @@ |
+// 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_BLOB_NATIVE_HANDLER_H_ |
+#define CHROME_RENDERER_EXTENSIONS_BLOB_NATIVE_HANDLER_H_ |
+ |
+#include "chrome/renderer/extensions/chrome_v8_extension.h" |
+ |
+namespace extensions { |
+ |
+class BlobNativeHandler : public ObjectBackedNativeHandler { |
+ public: |
+ explicit BlobNativeHandler(ChromeV8Context* context); |
+ |
+ private: |
+ // Expects a single Blob argument. Returns the Blob's UUID. |
+ void GetBlobUuid(const v8::FunctionCallbackInfo<v8::Value> &args); |
Lei Zhang
2013/11/19 21:28:41
nit: ">& args);"
tommycli
2013/11/19 22:16:05
Done.
|
+}; |
+ |
+} // namespace extensions |
+ |
+#endif // CHROME_RENDERER_EXTENSIONS_BLOB_NATIVE_HANDLER_H_ |