OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 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 CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ |
| 6 #define CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ |
| 7 |
| 8 #include "jingle/notifier/base/notifier_options.h" |
| 9 |
| 10 class CommandLine; |
| 11 |
| 12 namespace invalidation { |
| 13 |
| 14 // Parses the given command line for notifier options. |
| 15 notifier::NotifierOptions ParseNotifierOptions(const CommandLine& command_line); |
| 16 |
| 17 // Generates a unique client ID for the invalidator. |
| 18 std::string GenerateInvalidatorClientId(); |
| 19 |
| 20 } // namespace invalidation |
| 21 |
| 22 #endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ |
OLD | NEW |