Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / components / invalidation / impl / invalidation_service_util.h
blob84c240e9118816ab64e2fe6fe85a85333479868a
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_UTIL_H_
6 #define COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_UTIL_H_
8 #include "jingle/notifier/base/notifier_options.h"
10 namespace base {
11 class CommandLine;
14 namespace invalidation {
16 // Parses the given command line for notifier options.
17 notifier::NotifierOptions ParseNotifierOptions(
18 const base::CommandLine& command_line);
20 // Generates a unique client ID for the invalidator.
21 std::string GenerateInvalidatorClientId();
23 } // namespace invalidation
25 #endif // COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_UTIL_H_