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

Issue 2890943005: Cache the brand code to avoid hundreds of repeated reads. (Closed)

Created:
3 years, 7 months ago by Boris Vidolov
Modified:
3 years, 7 months ago
Reviewers:
borisv, Peter Kasting
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Cache the brand code to avoid hundreds of repeated reads. BUG=723072 Review-Url: https://codereview.chromium.org/2890943005 Cr-Commit-Position: refs/heads/master@{#473102} Committed: https://chromium.googlesource.com/chromium/src/+/04749717bf2f41bf945b73d9729d24eb262b2843

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed the curly braces to be more consistent with Chromium code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M chrome/browser/search_engines/ui_thread_search_terms_data.cc View 1 1 chunk +7 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
Boris Vidolov
Peter, PTAL. My previous CL got reverted as it broke non-Windows official builds. Changes: 1. ...
3 years, 7 months ago (2017-05-19 01:37:28 UTC) #3
Peter Kasting
LGTM https://codereview.chromium.org/2890943005/diff/1/chrome/browser/search_engines/ui_thread_search_terms_data.cc File chrome/browser/search_engines/ui_thread_search_terms_data.cc (right): https://codereview.chromium.org/2890943005/diff/1/chrome/browser/search_engines/ui_thread_search_terms_data.cc#newcode81 chrome/browser/search_engines/ui_thread_search_terms_data.cc:81: if (!google_brand::GetBrand(extracted)) { Why {} here? It's allowed ...
3 years, 7 months ago (2017-05-19 01:48:45 UTC) #4
borisv
On 2017/05/19 01:48:45, Peter Kasting wrote: > LGTM > > https://codereview.chromium.org/2890943005/diff/1/chrome/browser/search_engines/ui_thread_search_terms_data.cc > File chrome/browser/search_engines/ui_thread_search_terms_data.cc (right): ...
3 years, 7 months ago (2017-05-19 02:45:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2890943005/20001
3 years, 7 months ago (2017-05-19 02:47:15 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/431414)
3 years, 7 months ago (2017-05-19 04:55:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2890943005/20001
3 years, 7 months ago (2017-05-19 05:16:43 UTC) #12
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 05:56:37 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/04749717bf2f41bf945b73d9729d...

Powered by Google App Engine
This is Rietveld 408576698