Index: chrome/renderer/extensions/downloads_custom_bindings.h |
diff --git a/chrome/renderer/extensions/downloads_custom_bindings.h b/chrome/renderer/extensions/downloads_custom_bindings.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7fa6474da9c9f9dbf764cbd6cd68988f5a366ea4 |
--- /dev/null |
+++ b/chrome/renderer/extensions/downloads_custom_bindings.h |
@@ -0,0 +1,25 @@ |
+// Copyright (c) 2012 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_DOWNLOADS_CUSTOM_BINDINGS_H_ |
+#define CHROME_RENDERER_EXTENSIONS_DOWNLOADS_CUSTOM_BINDINGS_H_ |
+ |
+#include "chrome/renderer/extensions/chrome_v8_extension.h" |
+ |
+namespace extensions { |
+ |
+// Implements custom bindings for the downloads API. |
+class DownloadsCustomBindings : public ChromeV8Extension { |
+ public: |
+ DownloadsCustomBindings(); |
+ |
+ private: |
+ static v8::Handle<v8::Value> GetFilenameDeterminerId( |
+ const v8::Arguments& args); |
+ DISALLOW_COPY_AND_ASSIGN(DownloadsCustomBindings); |
+}; |
+ |
+} // extensions |
+ |
+#endif // CHROME_RENDERER_EXTENSIONS_DOWNLOADS_CUSTOM_BINDINGS_H_ |