Chromium Code Reviews| Index: chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
| diff --git a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
| index 33f04e40579d200af13601afef5a76be035a70e6..824c0d51e3da390682871eb18fab21e15851028a 100644 |
| --- a/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
| +++ b/chrome/browser/chromeos/chrome_browser_main_chromeos.cc |
| @@ -77,6 +77,7 @@ |
| #include "chrome/browser/net/chrome_network_delegate.h" |
| #include "chrome/browser/profiles/profile.h" |
| #include "chrome/browser/profiles/profile_manager.h" |
| +#include "chrome/browser/ui/ash/multi_user/multi_user_util.h" |
| #include "chrome/browser/ui/ash/network_connect_delegate_chromeos.h" |
| #include "chrome/common/channel_info.h" |
| #include "chrome/common/chrome_constants.h" |
| @@ -641,6 +642,13 @@ void ChromeBrowserMainPartsChromeos::PostProfileInit() { |
| // available. |
| idle_action_warning_observer_.reset(new IdleActionWarningObserver()); |
| + if (arc::ArcBridgeService::GetEnabled( |
| + base::CommandLine::ForCurrentProcess())) { |
| + DCHECK(arc_service_manager_); |
| + arc_service_manager_->PostProfileInit( |
| + multi_user_util::GetAccountIdFromProfile(profile())); |
|
xiyuan
2015/12/21 22:56:36
IIRC, this code path is usually executed on the lo
yoshiki
2015/12/22 10:13:53
I checked that the previous code (hooking is in Po
xiyuan
2015/12/22 16:10:17
Interesting. That means the AccountId of profile i
|
| + } |
| + |
| ChromeBrowserMainPartsLinux::PostProfileInit(); |
| } |