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

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

Issue 12304021: Allow chrome.debugger API to attach to extension background pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More descriptive flag name. 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 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 }, 782 },
783 #endif 783 #endif
784 { 784 {
785 "enable-devtools-experiments", 785 "enable-devtools-experiments",
786 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME, 786 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_NAME,
787 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION, 787 IDS_FLAGS_ENABLE_DEVTOOLS_EXPERIMENTS_DESCRIPTION,
788 kOsDesktop, 788 kOsDesktop,
789 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments) 789 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)
790 }, 790 },
791 { 791 {
792 "silent-debugger-extension-api",
793 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_NAME,
794 IDS_FLAGS_SILENT_DEBUGGER_EXTENSION_API_DESCRIPTION,
795 kOsDesktop,
796 SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)
797 },
798 {
792 "enable-suggestions-ntp", 799 "enable-suggestions-ntp",
793 IDS_FLAGS_NTP_SUGGESTIONS_PAGE_NAME, 800 IDS_FLAGS_NTP_SUGGESTIONS_PAGE_NAME,
794 IDS_FLAGS_NTP_SUGGESTIONS_PAGE_DESCRIPTION, 801 IDS_FLAGS_NTP_SUGGESTIONS_PAGE_DESCRIPTION,
795 kOsDesktop, 802 kOsDesktop,
796 SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage) 803 SINGLE_VALUE_TYPE(switches::kEnableSuggestionsTabPage)
797 }, 804 },
798 { 805 {
799 "spellcheck-autocorrect", 806 "spellcheck-autocorrect",
800 IDS_FLAGS_SPELLCHECK_AUTOCORRECT, 807 IDS_FLAGS_SPELLCHECK_AUTOCORRECT,
801 IDS_FLAGS_SPELLCHECK_AUTOCORRECT_DESCRIPTION, 808 IDS_FLAGS_SPELLCHECK_AUTOCORRECT_DESCRIPTION,
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
1732 } 1739 }
1733 1740
1734 const Experiment* GetExperiments(size_t* count) { 1741 const Experiment* GetExperiments(size_t* count) {
1735 *count = num_experiments; 1742 *count = num_experiments;
1736 return experiments; 1743 return experiments;
1737 } 1744 }
1738 1745
1739 } // namespace testing 1746 } // namespace testing
1740 1747
1741 } // namespace about_flags 1748 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/api/debugger/debugger_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698