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

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

Issue 314253003: Remove memory_watcher tool as well as --memory-profile command line flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile issue on non-ChromeOS platforms Created 6 years, 6 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
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | chrome/common/chrome_switches.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) 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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 1688 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 switches::kEnableAppWindowControls, 1699 switches::kEnableAppWindowControls,
1700 switches::kEnableBenchmarking, 1700 switches::kEnableBenchmarking,
1701 switches::kEnableNaCl, 1701 switches::kEnableNaCl,
1702 switches::kEnableNaClDebug, 1702 switches::kEnableNaClDebug,
1703 switches::kEnableNaClNonSfiMode, 1703 switches::kEnableNaClNonSfiMode,
1704 switches::kEnableNetBenchmarking, 1704 switches::kEnableNetBenchmarking,
1705 switches::kEnableShowModalDialog, 1705 switches::kEnableShowModalDialog,
1706 switches::kEnableStreamlinedHostedApps, 1706 switches::kEnableStreamlinedHostedApps,
1707 switches::kEnableWatchdog, 1707 switches::kEnableWatchdog,
1708 switches::kEnableWebBasedSignin, 1708 switches::kEnableWebBasedSignin,
1709 switches::kMemoryProfiling,
1710 switches::kMessageLoopHistogrammer, 1709 switches::kMessageLoopHistogrammer,
1711 switches::kOutOfProcessPdf, 1710 switches::kOutOfProcessPdf,
1712 switches::kPlaybackMode, 1711 switches::kPlaybackMode,
1713 switches::kPpapiFlashArgs, 1712 switches::kPpapiFlashArgs,
1714 switches::kPpapiFlashPath, 1713 switches::kPpapiFlashPath,
1715 switches::kPpapiFlashVersion, 1714 switches::kPpapiFlashVersion,
1716 switches::kProfilingAtStart, 1715 switches::kProfilingAtStart,
1717 switches::kProfilingFile, 1716 switches::kProfilingFile,
1718 switches::kProfilingFlush, 1717 switches::kProfilingFlush,
1719 switches::kRecordMode, 1718 switches::kRecordMode,
1720 translate::switches::kTranslateSecurityOrigin, 1719 translate::switches::kTranslateSecurityOrigin,
1721 }; 1720 };
1722 1721
1723 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 1722 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
1724 arraysize(kSwitchNames)); 1723 arraysize(kSwitchNames));
1725 } else if (process_type == switches::kUtilityProcess) { 1724 } else if (process_type == switches::kUtilityProcess) {
1726 static const char* const kSwitchNames[] = { 1725 static const char* const kSwitchNames[] = {
1727 extensions::switches::kAllowHTTPBackgroundPage, 1726 extensions::switches::kAllowHTTPBackgroundPage,
1728 extensions::switches::kEnableExperimentalExtensionApis, 1727 extensions::switches::kEnableExperimentalExtensionApis,
1729 extensions::switches::kExtensionsOnChromeURLs, 1728 extensions::switches::kExtensionsOnChromeURLs,
1730 extensions::switches::kWhitelistedExtensionID, 1729 extensions::switches::kWhitelistedExtensionID,
1731 }; 1730 };
1732 1731
1733 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 1732 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
1734 arraysize(kSwitchNames)); 1733 arraysize(kSwitchNames));
1735 } else if (process_type == switches::kPluginProcess) { 1734 } else if (process_type == switches::kPluginProcess) {
1735 #if defined(OS_CHROMEOS)
1736 static const char* const kSwitchNames[] = { 1736 static const char* const kSwitchNames[] = {
1737 #if defined(OS_CHROMEOS)
1738 chromeos::switches::kLoginProfile, 1737 chromeos::switches::kLoginProfile,
1739 #endif
1740 switches::kMemoryProfiling,
1741 }; 1738 };
1742 1739
1743 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 1740 command_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
1744 arraysize(kSwitchNames)); 1741 arraysize(kSwitchNames));
1742 #endif
1745 } else if (process_type == switches::kZygoteProcess) { 1743 } else if (process_type == switches::kZygoteProcess) {
1746 static const char* const kSwitchNames[] = { 1744 static const char* const kSwitchNames[] = {
1747 // Load (in-process) Pepper plugins in-process in the zygote pre-sandbox. 1745 // Load (in-process) Pepper plugins in-process in the zygote pre-sandbox.
1748 switches::kDisableBundledPpapiFlash, 1746 switches::kDisableBundledPpapiFlash,
1749 switches::kEnableNaClNonSfiMode, 1747 switches::kEnableNaClNonSfiMode,
1750 switches::kNaClDangerousNoSandboxNonSfi, 1748 switches::kNaClDangerousNoSandboxNonSfi,
1751 switches::kPpapiFlashPath, 1749 switches::kPpapiFlashPath,
1752 switches::kPpapiFlashVersion, 1750 switches::kPpapiFlashVersion,
1753 }; 1751 };
1754 1752
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
2851 switches::kDisableWebRtcEncryption, 2849 switches::kDisableWebRtcEncryption,
2852 }; 2850 };
2853 to_command_line->CopySwitchesFrom(from_command_line, 2851 to_command_line->CopySwitchesFrom(from_command_line,
2854 kWebRtcDevSwitchNames, 2852 kWebRtcDevSwitchNames,
2855 arraysize(kWebRtcDevSwitchNames)); 2853 arraysize(kWebRtcDevSwitchNames));
2856 } 2854 }
2857 } 2855 }
2858 #endif // defined(ENABLE_WEBRTC) 2856 #endif // defined(ENABLE_WEBRTC)
2859 2857
2860 } // namespace chrome 2858 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/app/chrome_main_delegate.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698