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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 11419258: Remove ProcessSingleton::FoundOtherProcessWindow() as it is no longer required. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge up to r170805 Created 8 years 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/process_singleton.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index f5e408a34a3f2a485992c6b610312bb6424b4d14..6d1e207be3836482d49f58cc0781ec4f31690ade 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1047,13 +1047,9 @@ int ChromeBrowserMainParts::PreMainMessageLoopRunImpl() {
if (!try_chrome.empty()) {
#if defined(OS_WIN)
// Setup.exe has determined that we need to run a retention experiment
- // and has lauched chrome to show the experiment UI.
- if (process_singleton_->FoundOtherProcessWindow()) {
- // It seems that we don't need to run the experiment since chrome
- // in the same profile is already running.
- VLOG(1) << "Retention experiment not required";
- return TryChromeDialogView::NOT_NOW;
- }
+ // and has lauched chrome to show the experiment UI. It is guaranteed that
+ // no other Chrome is currently running as the process singleton was
+ // sucessfully grabbed above.
int try_chrome_int;
base::StringToInt(try_chrome, &try_chrome_int);
TryChromeDialogView::Result answer =
« no previous file with comments | « no previous file | chrome/browser/process_singleton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698