OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ | 5 #ifndef COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_UTIL_H_ |
6 #define COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ | 6 #define COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_UTIL_H_ |
7 | 7 |
8 #include "jingle/notifier/base/notifier_options.h" | 8 #include "jingle/notifier/base/notifier_options.h" |
9 | 9 |
10 namespace base { | 10 namespace base { |
11 class CommandLine; | 11 class CommandLine; |
12 } | 12 } |
13 | 13 |
14 namespace invalidation { | 14 namespace invalidation { |
15 | 15 |
16 // Parses the given command line for notifier options. | 16 // Parses the given command line for notifier options. |
17 notifier::NotifierOptions ParseNotifierOptions( | 17 notifier::NotifierOptions ParseNotifierOptions( |
18 const base::CommandLine& command_line); | 18 const base::CommandLine& command_line); |
19 | 19 |
20 // Generates a unique client ID for the invalidator. | 20 // Generates a unique client ID for the invalidator. |
21 std::string GenerateInvalidatorClientId(); | 21 std::string GenerateInvalidatorClientId(); |
22 | 22 |
23 } // namespace invalidation | 23 } // namespace invalidation |
24 | 24 |
25 #endif // COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ | 25 #endif // COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_UTIL_H_ |
OLD | NEW |