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

Unified Diff: chrome/browser/signin/easy_unlock_app_manager.cc

Issue 2859053003: [EasyUnlock] Add beacon_seeds to RemoteDevice. (Closed)
Patch Set: fix memory issue 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_service_regular.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/easy_unlock_app_manager.cc
diff --git a/chrome/browser/signin/easy_unlock_app_manager.cc b/chrome/browser/signin/easy_unlock_app_manager.cc
index 22b3a149491ff065c5fdfb203b297b75a58f9a6a..29e7e204566d7297f6496235a42282ed5352f910 100644
--- a/chrome/browser/signin/easy_unlock_app_manager.cc
+++ b/chrome/browser/signin/easy_unlock_app_manager.cc
@@ -17,6 +17,7 @@
#include "chrome/browser/ui/extensions/application_launch.h"
#include "chrome/common/extensions/api/easy_unlock_private.h"
#include "chrome/common/extensions/extension_constants.h"
+#include "components/proximity_auth/logging/logging.h"
#include "components/proximity_auth/switches.h"
#include "extensions/browser/event_router.h"
#include "extensions/browser/extension_system.h"
@@ -78,15 +79,20 @@ void EasyUnlockAppManagerImpl::EnsureReady(
}
void EasyUnlockAppManagerImpl::LaunchSetup() {
+ PA_LOG(WARNING) << "LaunchSetup()";
ExtensionService* extension_service = extension_system_->extension_service();
if (!extension_service)
return;
+ PA_LOG(WARNING) << "got extension service";
const extensions::Extension* extension =
extension_service->GetExtensionById(app_id_, false);
- if (!extension)
+ if (!extension) {
+ PA_LOG(WARNING) << "No extension";
return;
+ }
+ PA_LOG(WARNING) << "launching app...";
OpenApplication(AppLaunchParams(extension_service->profile(), extension,
extensions::LAUNCH_CONTAINER_WINDOW,
WindowOpenDisposition::NEW_WINDOW,
« no previous file with comments | « no previous file | chrome/browser/signin/easy_unlock_service_regular.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698