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 #ifndef COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_ | 5 #ifndef COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_ |
6 #define COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_ | 6 #define COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "components/domain_reliability/config.h" | 10 #include "components/domain_reliability/config.h" |
11 #include "components/domain_reliability/domain_reliability_export.h" | 11 #include "components/domain_reliability/domain_reliability_export.h" |
12 | 12 |
13 namespace domain_reliability { | 13 namespace domain_reliability { |
14 | 14 |
15 void DOMAIN_RELIABILITY_EXPORT GetAllGoogleConfigs( | 15 void DOMAIN_RELIABILITY_EXPORT GetAllGoogleConfigs( |
16 std::vector<DomainReliabilityConfig*>* configs_out); | 16 std::vector<std::unique_ptr<DomainReliabilityConfig>>* configs_out); |
17 | 17 |
18 } // namespace domain_reliability | 18 } // namespace domain_reliability |
19 | 19 |
20 #endif // COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_ | 20 #endif // COMPONENTS_DOMAIN_RELIABILITY_GOOGLE_CONFIGS_H_ |
OLD | NEW |