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

Issue 11415237: Move many ProcessSingleton methods to "protected" visibility as an upcoming refactoring of ProcessS… (Closed)

Created:
8 years ago by gab
Modified:
8 years ago
Reviewers:
Nico, robertshield
CC:
chromium-reviews, sail+watch_chromium.org, grt (UTC plus 2)
Visibility:
Public.

Description

Move many ProcessSingleton methods to "protected" visibility as an upcoming refactoring of ProcessSingleton on Windows requires that only NotifyOtherProcessOrCreate() be callable from the public interface. This doesn't change any code logic, just moves things around. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170805

Patch Set 1 : . #

Total comments: 4

Patch Set 2 : robert's a ninja #

Patch Set 3 : decouple from https://codereview.chromium.org/11419258/ #

Total comments: 2

Patch Set 4 : rebase on master #

Total comments: 4

Patch Set 5 : dont move methods in .cc and better test changes #

Patch Set 6 : virtual destructor #

Patch Set 7 : Leave Create() public, see comment and chrome_frame_net_tests #

Patch Set 8 : need ProcessSingleton:: prefix for using directive #

Patch Set 9 : no longer need to make methods virtual #

Patch Set 10 : TestableProcessSingleton constructor... #

Patch Set 11 : fix linux compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -38 lines) Patch
M chrome/browser/process_singleton.h View 1 2 3 4 5 6 7 8 4 chunks +38 lines, -31 lines 0 comments Download
M chrome/browser/process_singleton_linux_unittest.cc View 1 2 3 4 5 6 7 8 9 10 6 chunks +22 lines, -7 lines 0 comments Download
M chrome_frame/test/net/fake_external_tab.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
gab
Sir, please take a look. The code didn't actually changed, just moved around to match ...
8 years ago (2012-11-30 21:12:49 UTC) #1
robertshield
Should probably forward the parameters in the mock class methods in the test file :) ...
8 years ago (2012-11-30 21:21:52 UTC) #2
gab
Hehe :) https://codereview.chromium.org/11415237/diff/3001/chrome/browser/process_singleton.h File chrome/browser/process_singleton.h (right): https://codereview.chromium.org/11415237/diff/3001/chrome/browser/process_singleton.h#newcode118 chrome/browser/process_singleton.h:118: // TODO(brettw): this will not handle all ...
8 years ago (2012-11-30 21:35:36 UTC) #3
robertshield
The trybots look unfathomably miserable, but the change LGTM w/ one minor nit. https://codereview.chromium.org/11415237/diff/5002/chrome/browser/chrome_browser_main.cc File ...
8 years ago (2012-11-30 21:52:01 UTC) #4
gab
https://codereview.chromium.org/11415237/diff/5002/chrome/browser/chrome_browser_main.cc File chrome/browser/chrome_browser_main.cc (right): https://codereview.chromium.org/11415237/diff/5002/chrome/browser/chrome_browser_main.cc#newcode1050 chrome/browser/chrome_browser_main.cc:1050: // and has lauched chrome to show the experiment ...
8 years ago (2012-11-30 23:46:15 UTC) #5
gab
@thakis for OWNER approval. Thanks, Gab
8 years ago (2012-11-30 23:49:08 UTC) #6
Nico
I wouldn't move the methods in the cc files around. Makes the method history harder ...
8 years ago (2012-12-01 01:45:39 UTC) #7
gab
Addressed comments. Decided to keep ProcessSingleton::Create() public after all as it makes sense to be ...
8 years ago (2012-12-02 18:41:00 UTC) #8
Nico
lgtm!
8 years ago (2012-12-02 20:16:56 UTC) #9
gab
Thanks, @robertshield: FYI, your original "committer" LGTM is now an "owner" LGTM for chrome_frame/, PTAL, ...
8 years ago (2012-12-03 00:31:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11415237/9003
8 years ago (2012-12-03 00:32:22 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-03 03:58:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11415237/9003
8 years ago (2012-12-03 04:55:44 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests
8 years ago (2012-12-03 08:13:11 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11415237/9003
8 years ago (2012-12-03 13:55:52 UTC) #15
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) ash_unittests
8 years ago (2012-12-03 14:23:36 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11415237/9003
8 years ago (2012-12-03 16:22:48 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) ash_unittests
8 years ago (2012-12-03 17:16:59 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/11415237/9003
8 years ago (2012-12-03 18:11:26 UTC) #19
commit-bot: I haz the power
8 years ago (2012-12-03 18:51:58 UTC) #20

Powered by Google App Engine
This is Rietveld 408576698