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

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

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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>
8
9 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
8 #include "components/domain_reliability/config.h" 11 #include "components/domain_reliability/config.h"
9 12
10 namespace domain_reliability { 13 namespace domain_reliability {
11 14
12 namespace { 15 namespace {
13 16
14 struct GoogleConfigParams { 17 struct GoogleConfigParams {
15 const char* hostname; 18 const char* hostname;
16 bool include_subdomains; 19 bool include_subdomains;
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 configs_out->clear(); 532 configs_out->clear();
530 533
531 for (auto& params : kGoogleConfigs) { 534 for (auto& params : kGoogleConfigs) {
532 configs_out->push_back(CreateGoogleConfig(params, false).release()); 535 configs_out->push_back(CreateGoogleConfig(params, false).release());
533 if (params.duplicate_for_www) 536 if (params.duplicate_for_www)
534 configs_out->push_back(CreateGoogleConfig(params, true).release()); 537 configs_out->push_back(CreateGoogleConfig(params, true).release());
535 } 538 }
536 } 539 }
537 540
538 } // namespace domain_reliability 541 } // namespace domain_reliability
OLDNEW
« no previous file with comments | « components/domain_reliability/context_unittest.cc ('k') | components/domain_reliability/monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698