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

Issue 13454032: Extract DependencyGraph from ProfileDependencyManager. (Closed)

Created:
7 years, 8 months ago by Paweł Hajdan Jr.
Modified:
7 years, 8 months ago
Reviewers:
Elliot Glaysher, Jói
CC:
chromium-reviews, sail+watch_chromium.org, kaiwang
Visibility:
Public.

Description

Extract DependencyGraph from ProfileDependencyManager. This will be helpful for extracting non-Chrome parts to its own component. BUG=227219 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194449

Patch Set 1 #

Total comments: 3

Patch Set 2 : no void* #

Total comments: 2

Patch Set 3 : comments #

Total comments: 6

Patch Set 4 : fixes #

Patch Set 5 : added tests #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+471 lines, -168 lines) Patch
A chrome/browser/profiles/dependency_graph.h View 1 2 3 1 chunk +67 lines, -0 lines 0 comments Download
A chrome/browser/profiles/dependency_graph.cc View 1 2 3 1 chunk +166 lines, -0 lines 0 comments Download
A chrome/browser/profiles/dependency_graph_unittest.cc View 1 2 3 4 1 chunk +161 lines, -0 lines 0 comments Download
A chrome/browser/profiles/dependency_node.h View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.h View 3 chunks +4 lines, -19 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 5 chunks +50 lines, -142 lines 0 comments Download
M chrome/browser/profiles/profile_dependency_manager_unittest.cc View 1 2 3 4 1 chunk +0 lines, -6 lines 2 comments Download
M chrome/browser/profiles/profile_keyed_base_factory.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Paweł Hajdan Jr.
Elliot, I'm going to polish it more (comments etc), but wanted to submit this so ...
7 years, 8 months ago (2013-04-05 23:10:07 UTC) #1
Elliot Glaysher
https://codereview.chromium.org/13454032/diff/1/chrome/browser/profiles/dependency_graph.h File chrome/browser/profiles/dependency_graph.h (right): https://codereview.chromium.org/13454032/diff/1/chrome/browser/profiles/dependency_graph.h#newcode28 chrome/browser/profiles/dependency_graph.h:28: void AddEdge(void* depended, void* dependee); I'd prefer it if ...
7 years, 8 months ago (2013-04-05 23:44:15 UTC) #2
Paweł Hajdan Jr.
https://codereview.chromium.org/13454032/diff/1/chrome/browser/profiles/dependency_graph.h File chrome/browser/profiles/dependency_graph.h (right): https://codereview.chromium.org/13454032/diff/1/chrome/browser/profiles/dependency_graph.h#newcode28 chrome/browser/profiles/dependency_graph.h:28: void AddEdge(void* depended, void* dependee); On 2013/04/05 23:44:15, Elliot ...
7 years, 8 months ago (2013-04-08 20:26:43 UTC) #3
Elliot Glaysher
https://codereview.chromium.org/13454032/diff/1/chrome/browser/profiles/dependency_graph.h File chrome/browser/profiles/dependency_graph.h (right): https://codereview.chromium.org/13454032/diff/1/chrome/browser/profiles/dependency_graph.h#newcode28 chrome/browser/profiles/dependency_graph.h:28: void AddEdge(void* depended, void* dependee); On 2013/04/08 20:26:43, Paweł ...
7 years, 8 months ago (2013-04-11 20:09:28 UTC) #4
Paweł Hajdan Jr.
PTAL Now it uses a DependencyNode* instead of void* The motivation is to extract non-chrome-specific ...
7 years, 8 months ago (2013-04-11 23:04:27 UTC) #5
Elliot Glaysher
lgtm with maybe nit. On 2013/04/11 23:04:27, Paweł Hajdan Jr. wrote: > The motivation is ...
7 years, 8 months ago (2013-04-12 20:15:06 UTC) #6
Paweł Hajdan Jr.
On 2013/04/12 20:15:06, Elliot Glaysher wrote: > I think we're speaking past each other. I'm ...
7 years, 8 months ago (2013-04-12 22:59:31 UTC) #7
Paweł Hajdan Jr.
Jói, could you also take a look? https://codereview.chromium.org/13454032/diff/8001/chrome/browser/profiles/dependency_node.h File chrome/browser/profiles/dependency_node.h (right): https://codereview.chromium.org/13454032/diff/8001/chrome/browser/profiles/dependency_node.h#newcode11 chrome/browser/profiles/dependency_node.h:11: ~DependencyNode() {} ...
7 years, 8 months ago (2013-04-12 23:00:00 UTC) #8
Jói
Sorry for the late response, I've been heads down preparing for a promo committee meeting ...
7 years, 8 months ago (2013-04-14 15:32:59 UTC) #9
Jói
Looks like I have to get to my flight soon and this is too big ...
7 years, 8 months ago (2013-04-14 15:36:02 UTC) #10
Jói
LGTM with a couple of nits. https://codereview.chromium.org/13454032/diff/15001/chrome/browser/profiles/dependency_graph.h File chrome/browser/profiles/dependency_graph.h (right): https://codereview.chromium.org/13454032/diff/15001/chrome/browser/profiles/dependency_graph.h#newcode22 chrome/browser/profiles/dependency_graph.h:22: // Constructor. The ...
7 years, 8 months ago (2013-04-14 23:13:20 UTC) #11
Paweł Hajdan Jr.
PTAL https://codereview.chromium.org/13454032/diff/15001/chrome/browser/profiles/dependency_graph.h File chrome/browser/profiles/dependency_graph.h (right): https://codereview.chromium.org/13454032/diff/15001/chrome/browser/profiles/dependency_graph.h#newcode22 chrome/browser/profiles/dependency_graph.h:22: // Constructor. The name callback is used for ...
7 years, 8 months ago (2013-04-15 19:07:40 UTC) #12
Jói
LGTM, thanks.
7 years, 8 months ago (2013-04-15 20:56:00 UTC) #13
Paweł Hajdan Jr.
Sorry for repeated submission - I added tests, based on ProfileDependencyManager. I consider that a ...
7 years, 8 months ago (2013-04-16 00:04:35 UTC) #14
Jói
https://codereview.chromium.org/13454032/diff/33001/chrome/browser/profiles/profile_dependency_manager_unittest.cc File chrome/browser/profiles/profile_dependency_manager_unittest.cc (right): https://codereview.chromium.org/13454032/diff/33001/chrome/browser/profiles/profile_dependency_manager_unittest.cc#newcode93 chrome/browser/profiles/profile_dependency_manager_unittest.cc:93: TEST_F(ProfileDependencyManagerUnittests, MConfiguration) { Just to check: Is it intentional ...
7 years, 8 months ago (2013-04-16 08:36:01 UTC) #15
Paweł Hajdan Jr.
https://codereview.chromium.org/13454032/diff/33001/chrome/browser/profiles/profile_dependency_manager_unittest.cc File chrome/browser/profiles/profile_dependency_manager_unittest.cc (right): https://codereview.chromium.org/13454032/diff/33001/chrome/browser/profiles/profile_dependency_manager_unittest.cc#newcode93 chrome/browser/profiles/profile_dependency_manager_unittest.cc:93: TEST_F(ProfileDependencyManagerUnittests, MConfiguration) { On 2013/04/16 08:36:01, Jói wrote: > ...
7 years, 8 months ago (2013-04-16 16:44:57 UTC) #16
Jói
LGTM On Tue, Apr 16, 2013 at 5:44 PM, <phajdan.jr@chromium.org> wrote: > > https://codereview.chromium.org/13454032/diff/33001/chrome/browser/profiles/profile_dependency_manager_unittest.cc > ...
7 years, 8 months ago (2013-04-16 19:42:53 UTC) #17
Paweł Hajdan Jr.
7 years, 8 months ago (2013-04-16 21:05:21 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 manually as r194449.

Powered by Google App Engine
This is Rietveld 408576698