Index: chrome/browser/invalidation/invalidation_service_util.h |
diff --git a/chrome/browser/invalidation/invalidation_service_util.h b/chrome/browser/invalidation/invalidation_service_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0cad2fb5f2c424a12ad7efed6b133f8c414194e4 |
--- /dev/null |
+++ b/chrome/browser/invalidation/invalidation_service_util.h |
@@ -0,0 +1,22 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ |
+#define CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ |
+ |
+#include "jingle/notifier/base/notifier_options.h" |
+ |
+class CommandLine; |
+ |
+namespace invalidation { |
+ |
+// Parses the given command line for notifier options. |
+notifier::NotifierOptions ParseNotifierOptions(const CommandLine& command_line); |
+ |
+// Genreates a unique client ID for the invalidator. |
dcheng
2013/05/03 18:07:34
Nit: Generates
rlarocque
2013/05/03 22:16:14
Done.
|
+std::string GenerateInvalidatorClientId(); |
+ |
+} |
+ |
+#endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ |