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

Issue 1674873002: SiteDetailsBrowserTest: prepare to add proxy information (Closed)

Created:
4 years, 10 months ago by ncarter (slow)
Modified:
4 years, 10 months ago
Reviewers:
Lei Zhang, nasko
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@uma
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SiteDetailsBrowserTest: prepare to add proxy information, by reworking how our matchers work and making the test run all the modes by default. SiteDetails: introduce structs to hold the per-browsing-instance info. Make it a little more clear when we're talking about site instance vs. browsing instance. The follow-up CL will add additional members to the structs to count the number of proxies in each browsing instance. BUG= Committed: https://crrev.com/6c28ecc923b5e88b8d5941d0e1e39b7aa6c70da5 Cr-Commit-Position: refs/heads/master@{#374476}

Patch Set 1 #

Patch Set 2 : Sync #

Patch Set 3 : ctors for clang #

Total comments: 7

Patch Set 4 : Nasko's fixes #

Patch Set 5 : dtors for clang #

Total comments: 5

Patch Set 6 : thestig's fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+373 lines, -350 lines) Patch
M chrome/browser/site_details.h View 1 2 3 4 3 chunks +25 lines, -12 lines 0 comments Download
M chrome/browser/site_details.cc View 1 2 3 4 5 3 chunks +35 lines, -21 lines 0 comments Download
M chrome/browser/site_details_browsertest.cc View 28 chunks +313 lines, -317 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (9 generated)
ncarter (slow)
4 years, 10 months ago (2016-02-08 18:05:05 UTC) #3
nasko
https://codereview.chromium.org/1674873002/diff/40001/chrome/browser/site_details.h File chrome/browser/site_details.h (right): https://codereview.chromium.org/1674873002/diff/40001/chrome/browser/site_details.h#newcode28 chrome/browser/site_details.h:28: std::set<content::SiteInstance*> sites; nit: Having sites as the name of ...
4 years, 10 months ago (2016-02-08 18:27:19 UTC) #4
ncarter (slow)
PTAL https://codereview.chromium.org/1674873002/diff/40001/chrome/browser/site_details.h File chrome/browser/site_details.h (right): https://codereview.chromium.org/1674873002/diff/40001/chrome/browser/site_details.h#newcode20 chrome/browser/site_details.h:20: std::set<GURL> sites; Left as "sites" https://codereview.chromium.org/1674873002/diff/40001/chrome/browser/site_details.h#newcode28 chrome/browser/site_details.h:28: std::set<content::SiteInstance*> ...
4 years, 10 months ago (2016-02-08 23:38:18 UTC) #5
nasko
Thanks a lot for the renames, it makes is a lot more readable/understandable! LGTM
4 years, 10 months ago (2016-02-08 23:59:56 UTC) #6
ncarter (slow)
+thestig for chrome/ rubber stamp
4 years, 10 months ago (2016-02-09 00:03:33 UTC) #8
Lei Zhang
lgtm with nits: https://codereview.chromium.org/1674873002/diff/80001/chrome/browser/site_details.cc File chrome/browser/site_details.cc (right): https://codereview.chromium.org/1674873002/diff/80001/chrome/browser/site_details.cc#newcode181 chrome/browser/site_details.cc:181: const SiteData* site_data = &site_data_map_entry.second; const ...
4 years, 10 months ago (2016-02-09 00:33:33 UTC) #9
ncarter (slow)
Will get back to you on the other stuff. https://codereview.chromium.org/1674873002/diff/80001/chrome/browser/site_details_browsertest.cc File chrome/browser/site_details_browsertest.cc (right): https://codereview.chromium.org/1674873002/diff/80001/chrome/browser/site_details_browsertest.cc#newcode116 chrome/browser/site_details_browsertest.cc:116: ...
4 years, 10 months ago (2016-02-09 01:06:32 UTC) #10
Lei Zhang
https://codereview.chromium.org/1674873002/diff/80001/chrome/browser/site_details_browsertest.cc File chrome/browser/site_details_browsertest.cc (right): https://codereview.chromium.org/1674873002/diff/80001/chrome/browser/site_details_browsertest.cc#newcode116 chrome/browser/site_details_browsertest.cc:116: GetCurrentPolicy() == ISOLATE_NOTHING On 2016/02/09 01:06:32, ncarter wrote: > ...
4 years, 10 months ago (2016-02-09 01:20:16 UTC) #11
ncarter (slow)
https://codereview.chromium.org/1674873002/diff/80001/chrome/browser/site_details.cc File chrome/browser/site_details.cc (right): https://codereview.chromium.org/1674873002/diff/80001/chrome/browser/site_details.cc#newcode181 chrome/browser/site_details.cc:181: const SiteData* site_data = &site_data_map_entry.second; On 2016/02/09 00:33:33, Lei ...
4 years, 10 months ago (2016-02-09 19:32:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1674873002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1674873002/100001
4 years, 10 months ago (2016-02-09 19:38:28 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/19561)
4 years, 10 months ago (2016-02-09 20:12:41 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1674873002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1674873002/100001
4 years, 10 months ago (2016-02-09 20:55:49 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 10 months ago (2016-02-09 21:30:23 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-02-09 21:31:40 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/6c28ecc923b5e88b8d5941d0e1e39b7aa6c70da5
Cr-Commit-Position: refs/heads/master@{#374476}

Powered by Google App Engine
This is Rietveld 408576698