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

Issue 3306001: Don't launch service process if it's already running (Closed)

Created:
10 years, 3 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
Reviewers:
sanjeevr
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr.
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Don't launch service process if it's already running BUG=52891 TEST=browser_tests --gtest_filter=ServiceProcess* Removed ServiceProcessControl::Connect() and just have a Launch() method. The Launch() method will connect to the service process if the it has already been launched but not connected. The method will simply return if the process is already been launched connected. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58265

Patch Set 1 #

Patch Set 2 : more test and comments #

Total comments: 4

Patch Set 3 : done #

Patch Set 4 : removed code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -25 lines) Patch
M chrome/browser/service/service_process_control.h View 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/service/service_process_control.cc View 1 2 3 3 chunks +14 lines, -18 lines 0 comments Download
M chrome/browser/service/service_process_control_browsertest.cc View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Alpha Left Google
10 years, 3 months ago (2010-09-01 02:13:09 UTC) #1
sanjeevr
http://codereview.chromium.org/3306001/diff/2001/3001 File chrome/browser/service/service_process_control.cc (right): http://codereview.chromium.org/3306001/diff/2001/3001#newcode125 chrome/browser/service/service_process_control.cc:125: // If the channel has already been established then ...
10 years, 3 months ago (2010-09-01 18:07:27 UTC) #2
Alpha Left Google
http://codereview.chromium.org/3306001/diff/2001/3001 File chrome/browser/service/service_process_control.cc (right): http://codereview.chromium.org/3306001/diff/2001/3001#newcode125 chrome/browser/service/service_process_control.cc:125: // If the channel has already been established then ...
10 years, 3 months ago (2010-09-01 18:54:58 UTC) #3
sanjeevr
10 years, 3 months ago (2010-09-01 20:44:55 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698