diff options
author | zork <zork@chromium.org> | 2014-11-25 12:31:58 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-25 20:32:20 +0000 |
commit | 3ea6ffc52b1c0771295e0ab5949ba00d2335daea (patch) | |
tree | bb9d0ee976657b221808261d825c877e8f6891a2 /apps/app_load_service.h | |
parent | 81d760e7ce27957a41f4685a37c1d0c3d7c6e5e8 (diff) | |
download | chromium_src-3ea6ffc52b1c0771295e0ab5949ba00d2335daea.zip chromium_src-3ea6ffc52b1c0771295e0ab5949ba00d2335daea.tar.gz chromium_src-3ea6ffc52b1c0771295e0ab5949ba00d2335daea.tar.bz2 |
Add load-app flag support to chrome
BUG=432359
Review URL: https://codereview.chromium.org/718133005
Cr-Commit-Position: refs/heads/master@{#305688}
Diffstat (limited to 'apps/app_load_service.h')
-rw-r--r-- | apps/app_load_service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_load_service.h b/apps/app_load_service.h index bd5d292..1b6fbab 100644 --- a/apps/app_load_service.h +++ b/apps/app_load_service.h @@ -61,6 +61,10 @@ class AppLoadService : public KeyedService, const base::CommandLine& command_line, const base::FilePath& current_dir); + // Loads (or reloads) the app with |extension_path|. Returns true if loading + // the app has begun successfully. + bool Load(const base::FilePath& extension_path); + static AppLoadService* Get(Profile* profile); private: |