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

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

Issue 1180223006: Domain Reliability: Simplify configs and reports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add new configs Created 5 years, 2 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_
6 #define COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "components/domain_reliability/config.h"
10 #include "components/domain_reliability/domain_reliability_export.h"
11
12 namespace domain_reliability {
13
14 class DOMAIN_RELIABILITY_EXPORT GoogleConfigs {
15 public:
16 ~GoogleConfigs();
17
18 static GoogleConfigs GetAllConfigs();
19
20 bool HasMoreConfigs();
21 scoped_ptr<DomainReliabilityConfig> GetNextConfig();
22
23 private:
24 GoogleConfigs();
25
26 size_t next_config_index_;
27 bool next_config_is_www_;
28
29 // Okay to copy and assign.
30 };
31
32 } // namespace domain_reliability
33
34 #endif // COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698