Index: extensions/renderer/user_script_set.h |
diff --git a/extensions/renderer/user_script_set.h b/extensions/renderer/user_script_set.h |
index 44b601826c0e1bb26d21e5e1eb85c1876c8f6c0c..578667871ffe8e4bfbfbf89cd6796a84d29c13b6 100644 |
--- a/extensions/renderer/user_script_set.h |
+++ b/extensions/renderer/user_script_set.h |
@@ -5,7 +5,6 @@ |
#ifndef EXTENSIONS_RENDERER_USER_SCRIPT_SET_H_ |
#define EXTENSIONS_RENDERER_USER_SCRIPT_SET_H_ |
-#include <map> |
#include <memory> |
#include <set> |
#include <string> |
@@ -16,7 +15,6 @@ |
#include "base/memory/shared_memory.h" |
#include "base/observer_list.h" |
#include "extensions/common/user_script.h" |
-#include "third_party/WebKit/public/platform/WebString.h" |
class GURL; |
@@ -75,12 +73,6 @@ |
const std::set<HostID>& changed_hosts, |
bool whitelisted_only); |
- // Returns the contents of a script file. |
- // Note that copying is cheap as this uses WebString. |
- blink::WebString GetJsSource(const UserScript::File& file, |
- bool emulate_greasemonkey); |
- blink::WebString GetCssSource(const UserScript::File& file); |
- |
private: |
// Returns a new ScriptInjection for the given |script| to execute in the |
// |render_frame|, or NULL if the script should not execute. |
@@ -99,9 +91,6 @@ |
// The UserScripts this injector manages. |
UserScriptList scripts_; |
- // Map of user script file url -> source. |
- std::map<GURL, blink::WebString> script_sources_; |
- |
// The associated observers. |
base::ObserverList<Observer> observers_; |