| 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_
|
|
|