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

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

Issue 1408003010: [sync] Componentize switches used by ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@more_pss_chrome_deps
Patch Set: Add BUILD.gn file Created 5 years, 1 month 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 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 // This only has an effect if QUIC protocol is enabled. 329 // This only has an effect if QUIC protocol is enabled.
330 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; 330 const char kDisableQuicPortSelection[] = "disable-quic-port-selection";
331 331
332 // Disables using bubbles for session restore request. 332 // Disables using bubbles for session restore request.
333 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; 333 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble";
334 334
335 // Disables the Site Engagement service, which records interaction with sites 335 // Disables the Site Engagement service, which records interaction with sites
336 // and allocates certain resources accordingly. 336 // and allocates certain resources accordingly.
337 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; 337 const char kDisableSiteEngagementService[] = "disable-site-engagement-service";
338 338
339 // Disables syncing browser data to a Google Account.
340 const char kDisableSync[] = "disable-sync";
341
342 // Disables syncing one or more sync data types that are on by default.
343 // See sync/internal_api/public/base/model_type.h for possible types. Types
344 // should be comma separated, and follow the naming convention for string
345 // representation of model types, e.g.:
346 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles'
347 const char kDisableSyncTypes[] = "disable-sync-types";
348
349 // Disables Web Notification custom layouts. 339 // Disables Web Notification custom layouts.
350 const char kDisableWebNotificationCustomLayouts[] = 340 const char kDisableWebNotificationCustomLayouts[] =
351 "disable-web-notification-custom-layouts"; 341 "disable-web-notification-custom-layouts";
352 342
353 // Disables the backend service for web resources. 343 // Disables the backend service for web resources.
354 const char kDisableWebResources[] = "disable-web-resources"; 344 const char kDisableWebResources[] = "disable-web-resources";
355 345
356 // Some tests seem to require the application to close when the last 346 // Some tests seem to require the application to close when the last
357 // browser window is closed. Thus, we need a switch to force this behavior 347 // browser window is closed. Thus, we need a switch to force this behavior
358 // for ChromeOS Aura, disable "zero window mode". 348 // for ChromeOS Aura, disable "zero window mode".
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 1370
1381 // ----------------------------------------------------------------------------- 1371 // -----------------------------------------------------------------------------
1382 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1383 // 1373 //
1384 // You were going to just dump your switches here, weren't you? Instead, please 1374 // You were going to just dump your switches here, weren't you? Instead, please
1385 // put them in alphabetical order above, or in order inside the appropriate 1375 // put them in alphabetical order above, or in order inside the appropriate
1386 // ifdef at the bottom. The order should match the header. 1376 // ifdef at the bottom. The order should match the header.
1387 // ----------------------------------------------------------------------------- 1377 // -----------------------------------------------------------------------------
1388 1378
1389 } // namespace switches 1379 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698