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

Issue 1309843005: Remove more //chrome dependencies from VariationsService (Closed)

Created:
5 years, 3 months ago by blundell
Modified:
5 years, 3 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@variations_service_get_channel
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove more //chrome dependencies from VariationsService - chrome/browser/variations/generated_resources_map.h: Use a client method instead. - chrome_switches.h: Move the appropriate switches into //components/variations, and pass the remaining switch in from the embedder. Note that ideally generated_resources_map.h would be componentized as well. However, that's currently an open problem, as the generation of that file is reliant on the embedder's strings already have been generated. It is not currently clear whether we'll be able to componentize it. BUG=516678 TBR=thakis Committed: https://crrev.com/3e603508d644161342d6c813cc6d064c4d590842 Cr-Commit-Position: refs/heads/master@{#346104}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Response to review #

Patch Set 3 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -33 lines) Patch
M chrome/browser/chrome_browser_main.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/metrics/metrics_services_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/variations/chrome_variations_service_client.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/metrics/variations/chrome_variations_service_client.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/metrics/variations/variations_service.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/metrics/variations/variations_service.cc View 1 2 7 chunks +8 lines, -17 lines 0 comments Download
M chrome/common/chrome_switches.h View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/common/chrome_switches.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M components/variations.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M components/variations/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M components/variations/service/variations_service_client.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
A components/variations/variations_switches.h View 1 chunk +20 lines, -0 lines 0 comments Download
A components/variations/variations_switches.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (3 generated)
blundell
Nearing the end :).
5 years, 3 months ago (2015-08-27 16:59:04 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/1309843005/diff/1/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): https://codereview.chromium.org/1309843005/diff/1/chrome/browser/metrics/variations/variations_service.cc#newcode212 chrome/browser/metrics/variations/variations_service.cc:212: void OverrideUIString(VariationsServiceClient* client, Why not have the whole OverrideUIString() ...
5 years, 3 months ago (2015-08-27 18:27:10 UTC) #3
blundell
https://codereview.chromium.org/1309843005/diff/1/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): https://codereview.chromium.org/1309843005/diff/1/chrome/browser/metrics/variations/variations_service.cc#newcode212 chrome/browser/metrics/variations/variations_service.cc:212: void OverrideUIString(VariationsServiceClient* client, On 2015/08/27 18:27:10, Alexei Svitkine wrote: ...
5 years, 3 months ago (2015-08-27 18:33:02 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/1309843005/diff/1/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): https://codereview.chromium.org/1309843005/diff/1/chrome/browser/metrics/variations/variations_service.cc#newcode212 chrome/browser/metrics/variations/variations_service.cc:212: void OverrideUIString(VariationsServiceClient* client, On 2015/08/27 18:33:01, blundell wrote: > ...
5 years, 3 months ago (2015-08-27 18:44:00 UTC) #5
blundell
https://codereview.chromium.org/1309843005/diff/1/chrome/browser/metrics/variations/variations_service.cc File chrome/browser/metrics/variations/variations_service.cc (right): https://codereview.chromium.org/1309843005/diff/1/chrome/browser/metrics/variations/variations_service.cc#newcode212 chrome/browser/metrics/variations/variations_service.cc:212: void OverrideUIString(VariationsServiceClient* client, On 2015/08/27 18:44:00, Alexei Svitkine wrote: ...
5 years, 3 months ago (2015-08-27 19:05:58 UTC) #6
Alexei Svitkine (slow)
lgtm
5 years, 3 months ago (2015-08-27 19:23:31 UTC) #7
blundell
TBR=thakis for chrome_browser_main
5 years, 3 months ago (2015-08-28 08:06:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1309843005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1309843005/40001
5 years, 3 months ago (2015-08-28 08:07:12 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-08-28 09:10:06 UTC) #12
commit-bot: I haz the power
5 years, 3 months ago (2015-08-28 09:10:54 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3e603508d644161342d6c813cc6d064c4d590842
Cr-Commit-Position: refs/heads/master@{#346104}

Powered by Google App Engine
This is Rietveld 408576698