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

Side by Side Diff: components/domain_reliability/google_configs.cc

Issue 2645653002: Domain Reliability: Add a collector and a few configs. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/domain_reliability/baked_in_configs/www_google_com.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/domain_reliability/google_configs.h" 5 #include "components/domain_reliability/google_configs.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 { "mail.google.com", false, true, false }, 514 { "mail.google.com", false, true, false },
515 { "www.gmail.com", false, true, false }, 515 { "www.gmail.com", false, true, false },
516 516
517 // Origins without subdomains or same-origin collectors. 517 // Origins without subdomains or same-origin collectors.
518 { "ad.doubleclick.net", false, false, false }, 518 { "ad.doubleclick.net", false, false, false },
519 { "drive.google.com", false, false, false }, 519 { "drive.google.com", false, false, false },
520 { "redirector.googlevideo.com", false, false, false }, 520 { "redirector.googlevideo.com", false, false, false },
521 }; 521 };
522 522
523 const char* kGoogleStandardCollectors[] = { 523 const char* kGoogleStandardCollectors[] = {
524 "https://beacons.gcp.gvt2.com/domainreliability/upload",
524 "https://beacons.gvt2.com/domainreliability/upload", 525 "https://beacons.gvt2.com/domainreliability/upload",
525 "https://beacons2.gvt2.com/domainreliability/upload", 526 "https://beacons2.gvt2.com/domainreliability/upload",
526 "https://beacons3.gvt2.com/domainreliability/upload", 527 "https://beacons3.gvt2.com/domainreliability/upload",
527 "https://beacons4.gvt2.com/domainreliability/upload", 528 "https://beacons4.gvt2.com/domainreliability/upload",
528 "https://beacons5.gvt2.com/domainreliability/upload", 529 "https://beacons5.gvt2.com/domainreliability/upload",
529 "https://beacons5.gvt3.com/domainreliability/upload", 530 "https://beacons5.gvt3.com/domainreliability/upload",
530 "https://clients2.google.com/domainreliability/upload", 531 "https://clients2.google.com/domainreliability/upload",
531 }; 532 };
532 533
533 const char* kGoogleOriginSpecificCollectorPathString = 534 const char* kGoogleOriginSpecificCollectorPathString =
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 configs_out->clear(); 571 configs_out->clear();
571 572
572 for (auto& params : kGoogleConfigs) { 573 for (auto& params : kGoogleConfigs) {
573 configs_out->push_back(CreateGoogleConfig(params, false)); 574 configs_out->push_back(CreateGoogleConfig(params, false));
574 if (params.duplicate_for_www) 575 if (params.duplicate_for_www)
575 configs_out->push_back(CreateGoogleConfig(params, true)); 576 configs_out->push_back(CreateGoogleConfig(params, true));
576 } 577 }
577 } 578 }
578 579
579 } // namespace domain_reliability 580 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « components/domain_reliability/baked_in_configs/www_google_com.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698