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

Unified Diff: chrome/renderer/source_map.h

Issue 9386001: Implement a module system for the extension bindings JS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile errors Created 8 years, 10 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/source_map.h
diff --git a/chrome/renderer/source_map.h b/chrome/renderer/source_map.h
new file mode 100644
index 0000000000000000000000000000000000000000..9d470cec2ac4bb6c38040d4cc51a29b451235287
--- /dev/null
+++ b/chrome/renderer/source_map.h
@@ -0,0 +1,19 @@
+// 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_SOURCE_MAP_H_
+#define CHROME_RENDERER_SOURCE_MAP_H_
+#pragma once
+
+#include "v8/include/v8.h"
+
+#include <string>
+
+class SourceMap {
Aaron Boodman 2012/03/01 07:24:26 This interface is really just a detail of ModuleSy
koz (OOO until 15th September) 2012/03/02 01:13:58 Done.
+ public:
+ virtual v8::Handle<v8::Value> GetSource(const std::string& name) = 0;
+ virtual bool Contains(const std::string& name) = 0;
+};
+
+#endif // CHROME_RENDERER_SOURCE_MAP_H_

Powered by Google App Engine
This is Rietveld 408576698