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

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: fix memory leak Created 9 years, 3 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/app/generated_resources.grd ('k') | chrome/browser/extensions/extension_event_router.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) 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy) 119 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy)
120 }, 120 },
121 { 121 {
122 "crxless-web-apps", 122 "crxless-web-apps",
123 IDS_FLAGS_CRXLESS_WEB_APPS_NAME, 123 IDS_FLAGS_CRXLESS_WEB_APPS_NAME,
124 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION, 124 IDS_FLAGS_CRXLESS_WEB_APPS_DESCRIPTION,
125 kOsAll, 125 kOsAll,
126 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps) 126 SINGLE_VALUE_TYPE(switches::kEnableCrxlessWebApps)
127 }, 127 },
128 { 128 {
129 "lazy-background-pages",
130 IDS_FLAGS_LAZY_BACKGROUND_PAGES_NAME,
131 IDS_FLAGS_LAZY_BACKGROUND_PAGES_DESCRIPTION,
132 kOsAll,
133 SINGLE_VALUE_TYPE(switches::kEnableLazyBackgroundPages)
134 },
135 {
129 "ignore-gpu-blacklist", 136 "ignore-gpu-blacklist",
130 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME, 137 IDS_FLAGS_IGNORE_GPU_BLACKLIST_NAME,
131 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION, 138 IDS_FLAGS_IGNORE_GPU_BLACKLIST_DESCRIPTION,
132 kOsAll, 139 kOsAll,
133 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist) 140 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)
134 }, 141 },
135 { 142 {
136 "force-compositing-mode-2", 143 "force-compositing-mode-2",
137 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME, 144 IDS_FLAGS_FORCE_COMPOSITING_MODE_NAME,
138 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION, 145 IDS_FLAGS_FORCE_COMPOSITING_MODE_DESCRIPTION,
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 } 818 }
812 819
813 const Experiment* GetExperiments(size_t* count) { 820 const Experiment* GetExperiments(size_t* count) {
814 *count = num_experiments; 821 *count = num_experiments;
815 return experiments; 822 return experiments;
816 } 823 }
817 824
818 } // namespace testing 825 } // namespace testing
819 826
820 } // namespace about_flags 827 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/extension_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698