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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 15421011: Use OAuth2 token for sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add commandline switch to toggle between OAuth2 and ClientLogin token Created 7 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1372 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error"; 1372 const char kSyncThrowUnrecoverableError[] = "sync-throw-unrecoverable-error";
1373 1373
1374 1374
1375 // Tries to connect to XMPP using SSLTCP first (for testing). 1375 // Tries to connect to XMPP using SSLTCP first (for testing).
1376 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp"; 1376 const char kSyncTrySsltcpFirstForXmpp[] = "sync-try-ssltcp-first-for-xmpp";
1377 1377
1378 // Enables deferring sync backend initialization until user initiated changes 1378 // Enables deferring sync backend initialization until user initiated changes
1379 // occur. 1379 // occur.
1380 const char kSyncEnableDeferredStartup[] = "sync-enable-deferred-startup"; 1380 const char kSyncEnableDeferredStartup[] = "sync-enable-deferred-startup";
1381 1381
1382 // Enables use of OAuth2 token in sync components instead of ClientLogin token.
1383 const char kSyncEnableOAuth2Token[] = "sync-enable-oauth2-token";
1384
1382 // Enables directory support for sync filesystem 1385 // Enables directory support for sync filesystem
1383 const char kSyncfsEnableDirectoryOperation[] = 1386 const char kSyncfsEnableDirectoryOperation[] =
1384 "enable-syncfs-directory-operation"; 1387 "enable-syncfs-directory-operation";
1385 1388
1386 // Enables tab dragging to create a real browser. 1389 // Enables tab dragging to create a real browser.
1387 const char kTabBrowserDragging[] = "enable-tab-browser-dragging"; 1390 const char kTabBrowserDragging[] = "enable-tab-browser-dragging";
1388 1391
1389 // Enables tab capture. 1392 // Enables tab capture.
1390 const char kTabCapture[] = "enable-tab-capture"; 1393 const char kTabCapture[] = "enable-tab-capture";
1391 1394
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1599 1602
1600 // ----------------------------------------------------------------------------- 1603 // -----------------------------------------------------------------------------
1601 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1604 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1602 // 1605 //
1603 // You were going to just dump your switches here, weren't you? Instead, please 1606 // You were going to just dump your switches here, weren't you? Instead, please
1604 // put them in alphabetical order above, or in order inside the appropriate 1607 // put them in alphabetical order above, or in order inside the appropriate
1605 // ifdef at the bottom. The order should match the header. 1608 // ifdef at the bottom. The order should match the header.
1606 // ----------------------------------------------------------------------------- 1609 // -----------------------------------------------------------------------------
1607 1610
1608 } // namespace switches 1611 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698