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

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

Issue 11571014: Lazy load chrome.* APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android compilation Created 7 years, 9 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_system_natives.h
diff --git a/chrome/renderer/extensions/file_system_natives.h b/chrome/renderer/extensions/file_system_natives.h
index c57a9a9495c1e8c923d323033cc5c554a09a75ee..6768eae82bd3e3825372c7cc0c64df40c6d61159 100644
--- a/chrome/renderer/extensions/file_system_natives.h
+++ b/chrome/renderer/extensions/file_system_natives.h
@@ -6,16 +6,19 @@
#define CHROME_RENDERER_EXTENSIONS_FILE_SYSTEM_NATIVES_H_
#include "base/compiler_specific.h"
-#include "chrome/renderer/extensions/chrome_v8_extension.h"
+#include "chrome/renderer/extensions/object_backed_native_handler.h"
namespace extensions {
// Custom bindings for the nativeFileSystem API.
-class FileSystemNatives : public ChromeV8Extension {
+class FileSystemNatives : public ObjectBackedNativeHandler {
public:
- FileSystemNatives();
+ explicit FileSystemNatives(v8::Handle<v8::Context> context);
private:
+ v8::Handle<v8::Value> GetFileEntry(const v8::Arguments& args);
+ v8::Handle<v8::Value> GetIsolatedFileSystem(const v8::Arguments& args);
+
DISALLOW_COPY_AND_ASSIGN(FileSystemNatives);
};
« no previous file with comments | « chrome/renderer/extensions/file_browser_private_custom_bindings.cc ('k') | chrome/renderer/extensions/file_system_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698