summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/user_script_master.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 17:12:31 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 17:12:31 +0000
commitf5c016bcc2b28ade52495a5baf4f7a6cd3f5a8f1 (patch)
tree980a55a0141e0eefde9da8cfd983c7a3e0aa02ba /chrome/browser/extensions/user_script_master.h
parentc689457d13245e024e67c256455d4ba92f79993d (diff)
downloadchromium_src-f5c016bcc2b28ade52495a5baf4f7a6cd3f5a8f1.zip
chromium_src-f5c016bcc2b28ade52495a5baf4f7a6cd3f5a8f1.tar.gz
chromium_src-f5c016bcc2b28ade52495a5baf4f7a6cd3f5a8f1.tar.bz2
Reduce header dependencies in chrome/browser/
In my scan of headers I got up to browser/gtk/ Review URL: http://codereview.chromium.org/126131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18500 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/user_script_master.h')
-rw-r--r--chrome/browser/extensions/user_script_master.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/extensions/user_script_master.h b/chrome/browser/extensions/user_script_master.h
index 4367c7e..7a73323 100644
--- a/chrome/browser/extensions/user_script_master.h
+++ b/chrome/browser/extensions/user_script_master.h
@@ -9,15 +9,13 @@
#include "base/directory_watcher.h"
#include "base/file_path.h"
-#include "base/message_loop.h"
-#include "base/process.h"
#include "base/scoped_ptr.h"
#include "base/shared_memory.h"
#include "chrome/common/extensions/user_script.h"
#include "chrome/common/notification_registrar.h"
-#include "googleurl/src/gurl.h"
#include "testing/gtest/include/gtest/gtest_prod.h"
+class MessageLoop;
class StringPiece;
// Manages a segment of shared memory that contains the user scripts the user
@@ -78,8 +76,7 @@ class UserScriptMaster : public base::RefCounted<UserScriptMaster>,
static void LoadScriptsFromDirectory(const FilePath script_dir,
UserScriptList* result);
- explicit ScriptReloader(UserScriptMaster* master)
- : master_(master), master_message_loop_(MessageLoop::current()) {}
+ explicit ScriptReloader(UserScriptMaster* master);
// Start a scan for scripts.
// Will always send a message to the master upon completion.