| OLD | NEW |
| 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 "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 { "youtube.ug", true, false, false }, | 472 { "youtube.ug", true, false, false }, |
| 473 { "youtube.uy", true, false, false }, | 473 { "youtube.uy", true, false, false }, |
| 474 { "youtube.vn", true, false, false }, | 474 { "youtube.vn", true, false, false }, |
| 475 { "youtubeeducation.com", true, false, false }, | 475 { "youtubeeducation.com", true, false, false }, |
| 476 { "youtubemobilesupport.com", true, false, false }, | 476 { "youtubemobilesupport.com", true, false, false }, |
| 477 { "ytimg.com", true, false, false }, | 477 { "ytimg.com", true, false, false }, |
| 478 | 478 |
| 479 // Origins without subdomains and with same-origin collectors. | 479 // Origins without subdomains and with same-origin collectors. |
| 480 { "accounts.google.com", false, true, false }, | 480 { "accounts.google.com", false, true, false }, |
| 481 { "apis.google.com", false, true, false }, | 481 { "apis.google.com", false, true, false }, |
| 482 { "b.mail.google.com", false, true, false }, |
| 483 { "chatenabled.mail.google.com", false, true, false }, |
| 482 { "ddm.google.com", false, true, false }, | 484 { "ddm.google.com", false, true, false }, |
| 485 { "gmail.com", false, true, false }, |
| 486 { "gmail.google.com", false, true, false }, |
| 487 { "mail.google.com", false, true, false }, |
| 488 { "mail-attachment.googleusercontent.com", false, true, false }, |
| 489 { "www.gmail.com", false, true, false }, |
| 483 | 490 |
| 484 // Origins without subdomains or same-origin collectors. | 491 // Origins without subdomains or same-origin collectors. |
| 485 { "ad.doubleclick.net", false, false, false }, | 492 { "ad.doubleclick.net", false, false, false }, |
| 486 { "drive.google.com", false, false, false }, | 493 { "drive.google.com", false, false, false }, |
| 487 { "redirector.googlevideo.com", false, false, false }, | 494 { "redirector.googlevideo.com", false, false, false }, |
| 488 }; | 495 }; |
| 489 | 496 |
| 490 const char* kGoogleStandardCollectors[] = { | 497 const char* kGoogleStandardCollectors[] = { |
| 491 "https://beacons.gvt2.com/domainreliability/upload", | 498 "https://beacons.gvt2.com/domainreliability/upload", |
| 492 "https://beacons2.gvt2.com/domainreliability/upload", | 499 "https://beacons2.gvt2.com/domainreliability/upload", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 configs_out->clear(); | 541 configs_out->clear(); |
| 535 | 542 |
| 536 for (auto& params : kGoogleConfigs) { | 543 for (auto& params : kGoogleConfigs) { |
| 537 configs_out->push_back(CreateGoogleConfig(params, false).release()); | 544 configs_out->push_back(CreateGoogleConfig(params, false).release()); |
| 538 if (params.duplicate_for_www) | 545 if (params.duplicate_for_www) |
| 539 configs_out->push_back(CreateGoogleConfig(params, true).release()); | 546 configs_out->push_back(CreateGoogleConfig(params, true).release()); |
| 540 } | 547 } |
| 541 } | 548 } |
| 542 | 549 |
| 543 } // namespace domain_reliability | 550 } // namespace domain_reliability |
| OLD | NEW |