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

Unified Diff: Source/core/fetch/ScriptResource.h

Issue 26538007: [devtools] Remove trailing fragment identifier from script urls (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: reupload Created 7 years, 2 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: Source/core/fetch/ScriptResource.h
diff --git a/Source/core/fetch/ScriptResource.h b/Source/core/fetch/ScriptResource.h
index 441a3b06099f4db42158b5d92dbc5ac0fc6c97c4..84fc6daa97d34c928f66eed1c22099c520c17968 100644
--- a/Source/core/fetch/ScriptResource.h
+++ b/Source/core/fetch/ScriptResource.h
@@ -39,6 +39,7 @@ public:
virtual ~ScriptResource();
const String& script();
+ const KURL& scriptURL();
virtual void setEncoding(const String&);
virtual String encoding() const;
@@ -49,6 +50,7 @@ public:
private:
AtomicString m_script;
RefPtr<TextResourceDecoder> m_decoder;
+ KURL m_url;
};
}

Powered by Google App Engine
This is Rietveld 408576698