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

Unified Diff: extensions/browser/extension_user_script_loader.h

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/extension_user_script_loader.h
diff --git a/chrome/browser/extensions/extension_user_script_loader.h b/extensions/browser/extension_user_script_loader.h
similarity index 84%
rename from chrome/browser/extensions/extension_user_script_loader.h
rename to extensions/browser/extension_user_script_loader.h
index f23f57aed065c7e27a9aa413e1c8ca78895c784d..5ca40605a74a645bd69ef5e2fe8a3dada68be065 100644
--- a/chrome/browser/extensions/extension_user_script_loader.h
+++ b/extensions/browser/extension_user_script_loader.h
@@ -2,20 +2,18 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_USER_SCRIPT_LOADER_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_USER_SCRIPT_LOADER_H_
+#ifndef EXTENSIONS_BROWSER_EXTENSION_USER_SCRIPT_LOADER_H_
+#define EXTENSIONS_BROWSER_EXTENSION_USER_SCRIPT_LOADER_H_
#include "base/memory/shared_memory.h"
-#include "chrome/browser/extensions/user_script_loader.h"
#include "extensions/browser/extension_registry_observer.h"
+#include "extensions/browser/user_script_loader.h"
#include "extensions/common/extension.h"
namespace content {
class BrowserContext;
}
-class Profile;
-
namespace extensions {
class ExtensionRegistry;
@@ -27,7 +25,7 @@ class ExtensionUserScriptLoader : public UserScriptLoader,
// The listen_for_extension_system_loaded is only set true when initilizing
// the Extension System, e.g, when constructs SharedUserScriptMaster in
// ExtensionSystemImpl.
- ExtensionUserScriptLoader(Profile* profile,
+ ExtensionUserScriptLoader(content::BrowserContext* browser_context,
const HostID& host_id,
bool listen_for_extension_system_loaded);
~ExtensionUserScriptLoader() override;
@@ -56,4 +54,4 @@ class ExtensionUserScriptLoader : public UserScriptLoader,
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_USER_SCRIPT_LOADER_H_
+#endif // EXTENSIONS_BROWSER_EXTENSION_USER_SCRIPT_LOADER_H_
« no previous file with comments | « extensions/browser/declarative_user_script_master.cc ('k') | extensions/browser/extension_user_script_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698