Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1439)

Unified Diff: chrome/browser/invalidation/invalidation_service_util.h

Issue 13991017: Commit InvalidationService implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another attempt to fix Android Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..7f44c316f2509c62156255d35da6650337b6f494
--- /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);
+
+// Generates a unique client ID for the invalidator.
+std::string GenerateInvalidatorClientId();
+
+} // namespace invalidation
+
+#endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698