summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 6168275..b1762f0 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -18,7 +18,7 @@
#include "chrome/browser/browser_process.h"
#include "chrome/browser/download/download_manager.h"
#include "chrome/browser/extensions/extensions_service.h"
-#include "chrome/browser/greasemonkey_master.h"
+#include "chrome/browser/extensions/user_script_master.h"
#include "chrome/browser/history/history.h"
#include "chrome/browser/navigation_controller.h"
#include "chrome/browser/net/chrome_url_request_context.h"
@@ -134,8 +134,8 @@ class OffTheRecordProfileImpl : public Profile,
return profile_->GetExtensionsService();
}
- virtual GreasemonkeyMaster* GetGreasemonkeyMaster() {
- return profile_->GetGreasemonkeyMaster();
+ virtual UserScriptMaster* GetUserScriptMaster() {
+ return profile_->GetUserScriptMaster();
}
virtual HistoryService* GetHistoryService(ServiceAccessType sat) {
@@ -448,16 +448,16 @@ ExtensionsService* ProfileImpl::GetExtensionsService() {
return extensions_service_.get();
}
-GreasemonkeyMaster* ProfileImpl::GetGreasemonkeyMaster() {
- if (!greasemonkey_master_.get()) {
+UserScriptMaster* ProfileImpl::GetUserScriptMaster() {
+ if (!user_script_master_.get()) {
std::wstring script_dir = GetPath();
file_util::AppendToPath(&script_dir, chrome::kUserScriptsDirname);
- greasemonkey_master_ =
- new GreasemonkeyMaster(g_browser_process->file_thread()->message_loop(),
- FilePath(script_dir));
+ user_script_master_ =
+ new UserScriptMaster(g_browser_process->file_thread()->message_loop(),
+ FilePath(script_dir));
}
- return greasemonkey_master_.get();
+ return user_script_master_.get();
}
PrefService* ProfileImpl::GetPrefs() {