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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 7672009: Lazy creating of background pages --enable-lazy-background-pages) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy) 120 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy)
121 }, 121 },
122 { 122 {
123 "crxless-web-apps", 123 "crxless-web-apps",
124 IDS_FLAGS_CRXLESS_WEB_APPS_NAME, 124 IDS_FLAGS_CRXLESS_WEB_APPS_NAME,
125 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION, 125 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION,
126 kOsAll, 126 kOsAll,
127 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps) 127 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps)
128 }, 128 },
129 { 129 {
130 "lazy-background-pages",
131 IDS_FLAGS_LAZY_BACKGROUND_PAGES_NAME,
132 IDS_FLAGS_LAZY_BACKGROUND_PAGES_DESCRIPTION,
133 kOsAll,
134 SINGLE_VALUE_TYPE(switches::kEnableLazyBackgroundPages)
135 },
136 {
130 "ignore-gpu-blacklist", 137 "ignore-gpu-blacklist",
131 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME, 138 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME,
132 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION, 139 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION,
133 kOsAll, 140 kOsAll,
134 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) 141 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)
135 }, 142 },
136 { 143 {
137 "force-compositing-mode-2", 144 "force-compositing-mode-2",
138 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME, 145 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME,
139 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION, 146 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION,
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 } 811 }
805 812
806 const Experiment* GetExperiments(size_t* count) { 813 const Experiment* GetExperiments(size_t* count) {
807 *count = num_experiments; 814 *count = num_experiments;
808 return experiments; 815 return experiments;
809 } 816 }
810 817
811 } // namespace testing 818 } // namespace testing
812 819
813 } // namespace about_flags 820 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698