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_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ | 5 #ifndef COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ |
6 #define COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ | 6 #define COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
52 // Gets the channel of the embedder. | 52 // Gets the channel of the embedder. |
53 virtual version_info::Channel GetChannel() = 0; | 53 virtual version_info::Channel GetChannel() = 0; |
54 | 54 |
55 // Returns whether the embedder overrides the value of the restrict parameter. | 55 // Returns whether the embedder overrides the value of the restrict parameter. |
56 // |parameter| is an out-param that will contain the value of the restrict | 56 // |parameter| is an out-param that will contain the value of the restrict |
57 // parameter if true is returned. | 57 // parameter if true is returned. |
58 virtual bool OverridesRestrictParameter(std::string* parameter) = 0; | 58 virtual bool OverridesRestrictParameter(std::string* parameter) = 0; |
59 | 59 |
60 // Called from VariationsService::PerformPreMainMessageLoopStartup(). | 60 // Called from VariationsService::PerformPreMainMessageLoopStartup(). |
61 virtual void OnInitialStartup() {} | 61 virtual void OnInitialStartup() {} |
62 | |
63 #if defined(OS_ANDROID) | |
64 virtual base::Callback<void(std::string*, std::string*, std::string*)> | |
65 GetVariationsFirstRunSeedCallback() = 0; | |
Bernhard Bauer
2015/11/03 09:44:49
Indent two more spaces. Really, `git cl format` is
Alexander Agulenko
2015/11/04 08:00:58
Done.
| |
66 #endif // OS_ANDROID | |
62 }; | 67 }; |
63 | 68 |
64 } // namespace variations | 69 } // namespace variations |
65 | 70 |
66 #endif // COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ | 71 #endif // COMPONENTS_VARIATIONS_SERVICE_VARIATIONS_SERVICE_CLIENT_H_ |
OLD | NEW |