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

Unified Diff: chrome/browser/sessions/session_restore.cc

Issue 6674043: Rewritten MountLibrary to work with non-blocking mount API calls in libcros.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
Index: chrome/browser/sessions/session_restore.cc
===================================================================
--- chrome/browser/sessions/session_restore.cc (revision 78219)
+++ chrome/browser/sessions/session_restore.cc (working copy)
@@ -653,8 +653,11 @@
// Record an app launch, if applicable.
GURL url = tab.navigations.at(tab.current_navigation_index).virtual_url();
- DCHECK(browser->profile()->GetExtensionService());
- if (browser->profile()->GetExtensionService()->IsInstalledApp(url)) {
+ if (
+#if defined(OS_CHROMEOS)
xiyuan 2011/03/17 00:23:32 Is this file used for non-chromeos build at all?
zel 2011/03/17 01:00:30 Yes it is.
xiyuan 2011/03/17 01:54:03 Yep. Sorry I misread the file name and thought it
+ browser->profile()->GetExtensionService() &&
+#endif
+ browser->profile()->GetExtensionService()->IsInstalledApp(url)) {
UMA_HISTOGRAM_ENUMERATION(extension_misc::kAppLaunchHistogram,
extension_misc::APP_LAUNCH_SESSION_RESTORE,
extension_misc::APP_LAUNCH_BUCKET_BOUNDARY);

Powered by Google App Engine
This is Rietveld 408576698