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

Side by Side Diff: chrome/browser/invalidation/invalidation_service_util.h

Issue 196413016: Move CommandLine to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/first_run/upgrade_util_win.h ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ 5 #ifndef CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_
6 #define CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ 6 #define CHROME_BROWSER_INVALIDATION_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 class CommandLine; 11 class CommandLine;
12 }
11 13
12 namespace invalidation { 14 namespace invalidation {
13 15
14 // Parses the given command line for notifier options. 16 // Parses the given command line for notifier options.
15 notifier::NotifierOptions ParseNotifierOptions(const CommandLine& command_line); 17 notifier::NotifierOptions ParseNotifierOptions(
18 const base::CommandLine& command_line);
16 19
17 // Generates a unique client ID for the invalidator. 20 // Generates a unique client ID for the invalidator.
18 std::string GenerateInvalidatorClientId(); 21 std::string GenerateInvalidatorClientId();
19 22
20 } // namespace invalidation 23 } // namespace invalidation
21 24
22 #endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_ 25 #endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/first_run/upgrade_util_win.h ('k') | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698