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

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

Issue 1854983002: [Extensions] Add more bindings access checks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 4 years, 8 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/file_browser_handler_custom_bindings.h
diff --git a/chrome/renderer/extensions/file_browser_handler_custom_bindings.h b/chrome/renderer/extensions/file_browser_handler_custom_bindings.h
index 79cdb4d67f9a8e6fd9cf491a5ff8cbfca8e5c453..c0612a05321d037bfc01615c6e7209a1eff4ea82 100644
--- a/chrome/renderer/extensions/file_browser_handler_custom_bindings.h
+++ b/chrome/renderer/extensions/file_browser_handler_custom_bindings.h
@@ -16,9 +16,15 @@ class FileBrowserHandlerCustomBindings : public ObjectBackedNativeHandler {
public:
explicit FileBrowserHandlerCustomBindings(ScriptContext* context);
+ // Public static implementation of GetExternalFileEntry() for use by
+ // FileManagerPrivate native handler.
+ static void GetExternalFileEntry(
+ const v8::FunctionCallbackInfo<v8::Value>& args,
+ ScriptContext* context);
+
private:
- void GetExternalFileEntry(const v8::FunctionCallbackInfo<v8::Value>& args);
- void GetEntryURL(const v8::FunctionCallbackInfo<v8::Value>& args);
+ void GetExternalFileEntryCallback(
+ const v8::FunctionCallbackInfo<v8::Value>& args);
DISALLOW_COPY_AND_ASSIGN(FileBrowserHandlerCustomBindings);
};

Powered by Google App Engine
This is Rietveld 408576698