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

Unified Diff: Source/WebCore/bindings/js/ScriptSourceCode.h

Issue 8806015: Changes to support a second VM. (Closed) Base URL: svn://svn.chromium.org/dash/experimental/chrome/src/webkit-full
Patch Set: . Created 9 years 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: Source/WebCore/bindings/js/ScriptSourceCode.h
diff --git a/Source/WebCore/bindings/js/ScriptSourceCode.h b/Source/WebCore/bindings/js/ScriptSourceCode.h
index fe5ab7b0474ddd0768cc296931c9d00f5c28a1e4..1fcea4a47f816f821ab7115f12bd4b4b831375e6 100644
--- a/Source/WebCore/bindings/js/ScriptSourceCode.h
+++ b/Source/WebCore/bindings/js/ScriptSourceCode.h
@@ -65,13 +65,16 @@ public:
const KURL& url() const { return m_url; }
+ void setMimeType(const String& mimeType) { m_mimeType = mimeType; }
+ const String& mimeType() const { return m_mimeType; }
+
private:
RefPtr<ScriptSourceProvider> m_provider;
JSC::SourceCode m_code;
KURL m_url;
-
+ String m_mimeType;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698