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

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

Issue 12463015: Enable <adview> tag for packaged apps. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Rebasing Created 7 years, 9 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/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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 SINGLE_VALUE_TYPE(switches::kEnablePnacl) 468 SINGLE_VALUE_TYPE(switches::kEnablePnacl)
469 }, 469 },
470 { 470 {
471 "extension-apis", // FLAGS:RECORD_UMA 471 "extension-apis", // FLAGS:RECORD_UMA
472 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME, 472 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_NAME,
473 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION, 473 IDS_FLAGS_EXPERIMENTAL_EXTENSION_APIS_DESCRIPTION,
474 kOsDesktop, 474 kOsDesktop,
475 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) 475 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis)
476 }, 476 },
477 { 477 {
478 "enable-adview", // FLAGS:RECORD_UMA
asargent_no_longer_on_chrome 2013/03/09 00:51:05 Does having this FLAGS:RECORD_UMA comment somehow
rpaquay 2013/03/12 19:56:48 Done.
479 IDS_FLAGS_ENABLE_ADVIEW_NAME,
480 IDS_FLAGS_ENABLE_ADVIEW_DESCRIPTION,
481 kOsDesktop,
482 SINGLE_VALUE_TYPE(switches::kEnableAdview)
483 },
484 {
485 "enable-adview-src-attribute", // FLAGS:RECORD_UMA
486 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_NAME,
487 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_DESCRIPTION,
488 kOsDesktop,
489 SINGLE_VALUE_TYPE_AND_VALUE(switches::kEnableAdviewSrcAttribute, "")
490 },
491 {
478 "action-box", 492 "action-box",
479 IDS_FLAGS_ACTION_BOX_NAME, 493 IDS_FLAGS_ACTION_BOX_NAME,
480 IDS_FLAGS_ACTION_BOX_DESCRIPTION, 494 IDS_FLAGS_ACTION_BOX_DESCRIPTION,
481 kOsDesktop, 495 kOsDesktop,
482 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kActionBox, "1", 496 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(switches::kActionBox, "1",
483 switches::kActionBox, "0") 497 switches::kActionBox, "0")
484 }, 498 },
485 { 499 {
486 "script-badges", 500 "script-badges",
487 IDS_FLAGS_SCRIPT_BADGES_NAME, 501 IDS_FLAGS_SCRIPT_BADGES_NAME,
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 } 1820 }
1807 1821
1808 const Experiment* GetExperiments(size_t* count) { 1822 const Experiment* GetExperiments(size_t* count) {
1809 *count = num_experiments; 1823 *count = num_experiments;
1810 return experiments; 1824 return experiments;
1811 } 1825 }
1812 1826
1813 } // namespace testing 1827 } // namespace testing
1814 1828
1815 } // namespace about_flags 1829 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698