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

Unified Diff: chrome/browser/greasemonkey_master.h

Issue 17281: This is a rename of the term 'Greasemonkey' to 'user script' in Chromium. (Closed)
Patch Set: Fix indent Created 11 years, 11 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
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/browser/greasemonkey_master.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/greasemonkey_master.h
diff --git a/chrome/browser/greasemonkey_master.h b/chrome/browser/extensions/user_script_master.h
similarity index 80%
rename from chrome/browser/greasemonkey_master.h
rename to chrome/browser/extensions/user_script_master.h
index 34121dd77f44506e17d4daa050e1eee14c1e1b96..4798bb237b13032852a1d4835bb02df53b3d058d 100644
--- a/chrome/browser/greasemonkey_master.h
+++ b/chrome/browser/extensions/user_script_master.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_GREASEMONKEY_MASTER_H_
-#define CHROME_BROWSER_GREASEMONKEY_MASTER_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_
+#define CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_
#include "base/directory_watcher.h"
#include "base/file_path.h"
@@ -13,16 +13,16 @@
class MessageLoop;
-// Manages a segment of shared memory that contains the Greasemonkey scripts the
-// user has installed. Lives on the UI thread.
-class GreasemonkeyMaster : public base::RefCounted<GreasemonkeyMaster>,
- public DirectoryWatcher::Delegate {
+// Manages a segment of shared memory that contains the user scripts the user
+// has installed. Lives on the UI thread.
+class UserScriptMaster : public base::RefCounted<UserScriptMaster>,
+ public DirectoryWatcher::Delegate {
public:
// For testability, the constructor takes the MessageLoop to run the
// script-reloading worker on as well as the path the scripts live in.
// These are normally the file thread and a directory inside the profile.
- GreasemonkeyMaster(MessageLoop* worker, const FilePath& script_dir);
- ~GreasemonkeyMaster();
+ UserScriptMaster(MessageLoop* worker, const FilePath& script_dir);
+ ~UserScriptMaster();
// Gets the segment of shared memory for the scripts.
base::SharedMemory* GetSharedMemory() const {
@@ -70,7 +70,7 @@ class GreasemonkeyMaster : public base::RefCounted<GreasemonkeyMaster>,
// finishes. This boolean tracks whether another scan is pending.
bool pending_scan_;
- DISALLOW_COPY_AND_ASSIGN(GreasemonkeyMaster);
+ DISALLOW_COPY_AND_ASSIGN(UserScriptMaster);
};
-#endif // CHROME_BROWSER_GREASEMONKEY_MASTER_H_
+#endif // CHROME_BROWSER_EXTENSIONS_USER_SCRIPT_MASTER_H_
« no previous file with comments | « chrome/browser/browser.vcproj ('k') | chrome/browser/greasemonkey_master.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698