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

Unified Diff: extensions/browser/declarative_user_script_master.cc

Issue 955473002: Move DeclarativeUserScriptManager/Master and UserScriptLoader to //extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: extensions/browser/declarative_user_script_master.cc
diff --git a/chrome/browser/extensions/declarative_user_script_master.cc b/extensions/browser/declarative_user_script_master.cc
similarity index 73%
rename from chrome/browser/extensions/declarative_user_script_master.cc
rename to extensions/browser/declarative_user_script_master.cc
index 40fc511dd964ec23196d31fd6677979381963d22..f16157fce831519bb91b01a9a16ac4e821cfcd29 100644
--- a/chrome/browser/extensions/declarative_user_script_master.cc
+++ b/extensions/browser/declarative_user_script_master.cc
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/declarative_user_script_master.h"
+#include "extensions/browser/declarative_user_script_master.h"
#include <set>
-#include "chrome/browser/profiles/profile.h"
+#include "content/public/browser/browser_context.h"
namespace extensions {
-DeclarativeUserScriptMaster::DeclarativeUserScriptMaster(Profile* profile,
- const HostID& host_id)
+DeclarativeUserScriptMaster::DeclarativeUserScriptMaster(
+ content::BrowserContext* browser_context,
+ const HostID& host_id)
: host_id_(host_id),
- loader_(profile,
+ loader_(browser_context,
host_id,
false /* listen_for_extension_system_loaded */) {
}
« no previous file with comments | « extensions/browser/declarative_user_script_master.h ('k') | extensions/browser/extension_user_script_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698