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

Unified Diff: chrome/renderer/extensions/downloads_custom_bindings.h

Issue 11574006: Implement chrome.downloads.onDeterminingFilename() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: @r176065 Created 7 years, 11 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
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..b61a92567bab2aed11076b228f6404e711d2f469
--- /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 );
vabr (Chromium) 2013/01/11 12:43:40 Lint says: "Extra space before )"
benjhayden 2013/01/11 21:21:27 Done.
+};
+
+} // extensions
+
+#endif // CHROME_RENDERER_EXTENSIONS_DOWNLOADS_CUSTOM_BINDINGS_H_

Powered by Google App Engine
This is Rietveld 408576698