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

Side by Side Diff: content/public/common/content_switches.cc

Issue 22198004: Always enable FCM on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge up to r219022 Created 7 years, 4 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 | « content/public/common/content_switches.h ('k') | content/public/test/browser_test_base.cc » ('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) 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 // 735 //
736 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), 736 // Unlike --enable-strict-site-isolation (which allows cross-site iframes),
737 // this flag blocks cross-site documents even in iframes, until out-of-process 737 // this flag blocks cross-site documents even in iframes, until out-of-process
738 // iframe support is available. Cross-site network requests do attach the 738 // iframe support is available. Cross-site network requests do attach the
739 // normal set of cookies, but a renderer process is only allowed to view or 739 // normal set of cookies, but a renderer process is only allowed to view or
740 // modify cookies for its own site (via JavaScript). 740 // modify cookies for its own site (via JavaScript).
741 // TODO(irobert): Implement the cross-site document blocking in 741 // TODO(irobert): Implement the cross-site document blocking in
742 // http://crbug.com/159215. 742 // http://crbug.com/159215.
743 const char kSitePerProcess[] = "site-per-process"; 743 const char kSitePerProcess[] = "site-per-process";
744 744
745 // Skip gpu info collection, blacklist loading, and blacklist auto-update
746 // scheduling at browser startup time.
747 // Therefore, all GPU features are available, and about:gpu page shows empty
748 // content. The switch is intended only for tests.
749 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading";
750
751 // Specifies the request key for the continuous speech recognition webservice. 745 // Specifies the request key for the continuous speech recognition webservice.
752 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; 746 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key";
753 747
754 // Specifies if the |StatsCollectionController| needs to be bound in the 748 // Specifies if the |StatsCollectionController| needs to be bound in the
755 // renderer. This binding happens on per-frame basis and hence can potentially 749 // renderer. This binding happens on per-frame basis and hence can potentially
756 // be a performance bottleneck. One should only enable it when running a test 750 // be a performance bottleneck. One should only enable it when running a test
757 // that needs to access the provided statistics. 751 // that needs to access the provided statistics.
758 const char kStatsCollectionController[] = 752 const char kStatsCollectionController[] =
759 "enable-stats-collection-bindings"; 753 "enable-stats-collection-bindings";
760 754
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 #if defined(OS_POSIX) 922 #if defined(OS_POSIX)
929 // Causes the child processes to cleanly exit via calling exit(). 923 // Causes the child processes to cleanly exit via calling exit().
930 const char kChildCleanExit[] = "child-clean-exit"; 924 const char kChildCleanExit[] = "child-clean-exit";
931 #endif 925 #endif
932 926
933 #if defined(USE_AURA) 927 #if defined(USE_AURA)
934 // Forces usage of the test compositor. Needed to run ui tests on bots. 928 // Forces usage of the test compositor. Needed to run ui tests on bots.
935 extern const char kTestCompositor[] = "test-compositor"; 929 extern const char kTestCompositor[] = "test-compositor";
936 #endif 930 #endif
937 931
932 #if defined(OS_LINUX) || defined(OS_MACOSX)
933 // Skip gpu info collection, blacklist loading, and blacklist auto-update
934 // scheduling at browser startup time.
935 // Therefore, all GPU features are available, and about:gpu page shows empty
936 // content. The switch is intended only for tests.
937 // TODO(gab): Remove this flag entriely and enable GPU blacklist usage on all
938 // the bots (http://crbug.com/277242).
939 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading";
940 #endif
941
938 // Don't dump stuff here, follow the same order as the header. 942 // Don't dump stuff here, follow the same order as the header.
939 943
940 // Allows filters (SkImageFilter objects) to be sent between processes over IPC 944 // Allows filters (SkImageFilter objects) to be sent between processes over IPC
941 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; 945 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc";
942 946
943 } // namespace switches 947 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/test/browser_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698