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

Side by Side Diff: extensions/shell/browser/shell_extension_system.h

Issue 2859423003: Remove ShellExtensionSystem::LaunchApp
Patch Set: Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 21 matching lines...) Expand all
32 explicit ShellExtensionSystem(content::BrowserContext* browser_context); 32 explicit ShellExtensionSystem(content::BrowserContext* browser_context);
33 ~ShellExtensionSystem() override; 33 ~ShellExtensionSystem() override;
34 34
35 // Loads an unpacked application from a directory. Returns the extension on 35 // Loads an unpacked application from a directory. Returns the extension on
36 // success, or null otherwise. 36 // success, or null otherwise.
37 const Extension* LoadApp(const base::FilePath& app_dir); 37 const Extension* LoadApp(const base::FilePath& app_dir);
38 38
39 // Initializes the extension system. 39 // Initializes the extension system.
40 void Init(); 40 void Init();
41 41
42 // Launch the app with id |extension_id|.
43 void LaunchApp(const std::string& extension_id);
44
45 // KeyedService implementation: 42 // KeyedService implementation:
46 void Shutdown() override; 43 void Shutdown() override;
47 44
48 // ExtensionSystem implementation: 45 // ExtensionSystem implementation:
49 void InitForRegularProfile(bool extensions_enabled) override; 46 void InitForRegularProfile(bool extensions_enabled) override;
50 ExtensionService* extension_service() override; 47 ExtensionService* extension_service() override;
51 RuntimeData* runtime_data() override; 48 RuntimeData* runtime_data() override;
52 ManagementPolicy* management_policy() override; 49 ManagementPolicy* management_policy() override;
53 ServiceWorkerManager* service_worker_manager() override; 50 ServiceWorkerManager* service_worker_manager() override;
54 SharedUserScriptMaster* shared_user_script_master() override; 51 SharedUserScriptMaster* shared_user_script_master() override;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 OneShotEvent ready_; 87 OneShotEvent ready_;
91 88
92 base::WeakPtrFactory<ShellExtensionSystem> weak_factory_; 89 base::WeakPtrFactory<ShellExtensionSystem> weak_factory_;
93 90
94 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem); 91 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem);
95 }; 92 };
96 93
97 } // namespace extensions 94 } // namespace extensions
98 95
99 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 96 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_apitest.cc ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698