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

Unified Diff: extensions/renderer/file_system_natives.cc

Issue 1945433002: [Extensions] Update more bindings and allow for multiple feature access (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 7 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: extensions/renderer/file_system_natives.cc
diff --git a/extensions/renderer/file_system_natives.cc b/extensions/renderer/file_system_natives.cc
index 2b7006299a22ccf092ead1089d4f07640474cabc..f5a7b1f8b0b2127df44ce1698533b4eb558c98c3 100644
--- a/extensions/renderer/file_system_natives.cc
+++ b/extensions/renderer/file_system_natives.cc
@@ -21,11 +21,12 @@ FileSystemNatives::FileSystemNatives(ScriptContext* context)
: ObjectBackedNativeHandler(context) {
RouteFunction(
"GetFileEntry",
+ "syncFileSystem",
base::Bind(&FileSystemNatives::GetFileEntry, base::Unretained(this)));
RouteFunction("GetIsolatedFileSystem",
base::Bind(&FileSystemNatives::GetIsolatedFileSystem,
base::Unretained(this)));
- RouteFunction("CrackIsolatedFileSystemName",
+ RouteFunction("CrackIsolatedFileSystemName", "fileSystem",
base::Bind(&FileSystemNatives::CrackIsolatedFileSystemName,
base::Unretained(this)));
}
« no previous file with comments | « extensions/renderer/context_menus_custom_bindings.cc ('k') | extensions/renderer/object_backed_native_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698