<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>腦功仔個Blog &#187; 電腦雜碎</title>
	<atom:link href="http://orz.hk/category/computing/feed/" rel="self" type="application/rss+xml" />
	<link>http://orz.hk</link>
	<description>每天都努力用腦用功的打工仔</description>
	<lastBuildDate>Thu, 01 Dec 2011 03:36:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>iPhone 設定中國移動 CMHK / Peoples GPRS</title>
		<link>http://orz.hk/2011/10/31/4505/</link>
		<comments>http://orz.hk/2011/10/31/4505/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 05:41:45 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=4505</guid>
		<description><![CDATA[之前用 iPhone 因為 d settings 未足, 用得好唔爽，但又冇時間搵返晒 d settings 出黎。但 Samsung 香港區個 ROM 有齊晒，結果就算用 GPRS 都爽左好多, 如果再轉返iPhone 既話可以抄以下 settings: &#160;]]></description>
			<content:encoded><![CDATA[<p>之前用 iPhone 因為 d settings 未足, 用得好唔爽，但又冇時間搵返晒 d settings 出黎。但 Samsung 香港區個 ROM 有齊晒，結果就算用 GPRS 都爽左好多, 如果再轉返iPhone 既話可以抄以下 settings:</p>
<p>&nbsp;</p>
<p><a href="http://orz.hk/2011/10/31/4505/ppl/" rel="attachment wp-att-4506"><img class="alignnone size-full wp-image-4506" title="ppl" src="http://orz.hk/wp-content/uploads/2011/10/ppl.png" alt="" width="320" height="958" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2011/10/31/4505/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何 kill 大量 MySQL queries</title>
		<link>http://orz.hk/2011/09/15/4464/</link>
		<comments>http://orz.hk/2011/09/15/4464/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 10:14:43 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=4464</guid>
		<description><![CDATA[e.g., mysql -e &#8220;show processlist&#8221; &#124; sed &#8217;1d&#8217;  &#124; grep -i &#8220;SELECT&#8221; &#124; awk &#8216;{print &#8220;kill &#8220;, $1, &#8220;;&#8221;}&#8217; 咁就會 list 晒所有有 SELECT 係入面既 query, 直接 paste 入去 mysql 就可以清晒]]></description>
			<content:encoded><![CDATA[<p>e.g.,</p>
<p>mysql -e &#8220;show processlist&#8221; | sed &#8217;1d&#8217;  | grep -i &#8220;SELECT&#8221; | awk &#8216;{print &#8220;kill &#8220;, $1, &#8220;;&#8221;}&#8217;</p>
<p>咁就會 list 晒所有有 SELECT 係入面既 query, 直接 paste 入去 mysql 就可以清晒</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2011/09/15/4464/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade 左去 Lion 之後我會做的事</title>
		<link>http://orz.hk/2011/07/29/4452/</link>
		<comments>http://orz.hk/2011/07/29/4452/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 08:09:13 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[MacOSX]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=4452</guid>
		<description><![CDATA[disable local backups, 我對依個 features 冇乜興趣，而且成日唔夠 harddisk 位。 disable 只要用依個 command 就得了: sudo tmutil disablelocal。行左陣你會發覺你多返好多位。至於 Auto save 我試過暫時冇影響。 setup time machine, 雖然 local backup disable 左，但係我都會用 time machine 黎 backup 去其他地方，不過有D Folder 就唔駛 backup: ~/Library/Application Support/MobileSync/Backup ~/Library/Application Support/Google/Chrome/Default ~/Library/Cache ~/Library/Developer/Xcode/DerivedData ~/.Trash ~/Downloads ~/Music/iTunes/iTunes Media/Podcasts ~/Music/iTunes/iTunes Media/iTunes U /var/vm /var/tmp 喺 Mission Control 入面 uncheck &#8220;Show [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>disable local backups, 我對依個 features 冇乜興趣，而且成日唔夠 harddisk 位。 disable 只要用依個 command 就得了: sudo tmutil disablelocal。行左陣你會發覺你多返好多位。至於 Auto save 我試過暫時冇影響。</li>
<li>setup time machine, 雖然 local backup disable 左，但係我都會用 time machine 黎 backup 去其他地方，不過有D Folder 就唔駛 backup:</li>
<ol>
<li>~/Library/Application Support/MobileSync/Backup</li>
<li>~/Library/Application Support/Google/Chrome/Default</li>
<li>~/Library/Cache</li>
<li>~/Library/Developer/Xcode/DerivedData</li>
<li>~/.Trash</li>
<li>~/Downloads</li>
<li>~/Music/iTunes/iTunes Media/Podcasts</li>
<li>~/Music/iTunes/iTunes Media/iTunes U</li>
<li>/var/vm</li>
<li>/var/tmp</li>
</ol>
<li> 喺 Mission Control 入面 uncheck &#8220;Show Dashboard as a space.&#8221;。咁樣 dashboard 會 show 得冇咁順，但可就將 widget 拉落去 Desktop</li>
<li>容易d搵到Library:
<ul>
<li>chflags nohidden /Library</li>
<li>chflags nohidden ~/Library</li>
</ul>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2011/07/29/4452/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>一口氣 publish 咗8個免費 iPad Apps 上 Apple Apps Store</title>
		<link>http://orz.hk/2011/02/10/4040/</link>
		<comments>http://orz.hk/2011/02/10/4040/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 12:28:09 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[iPad]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=4040</guid>
		<description><![CDATA[通識Plus 01 http://itunes.apple.com/hk/app/id408859136?mt=8 通識Plus 03 http://itunes.apple.com/hk/app/id417212268?mt=8 政法多面睇 1 http://itunes.apple.com/hk/app/id417162305?mt=8 政法多面睇 2 http://itunes.apple.com/hk/app/id417213875?mt=8 時事看法律 http://itunes.apple.com/app/id417214402?mt=8 崖岸自高 1 http://itunes.apple.com/app/id417215236?mt=8 崖岸自高 2 http://itunes.apple.com/app/id417216420?mt=8 聖經要道 http://itunes.apple.com/hk/app/id417213212?mt=8 另外更新左： 通識Plus 02 http://itunes.apple.com/hk/app/id408381268?mt=8]]></description>
			<content:encoded><![CDATA[<p><a href="http://itunes.apple.com/hk/app/id408859136?mt=8" target="_blank"><img class="alignnone size-full wp-image-4042" title="Screen shot 2011-02-10 at 20.10.55" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.10.55-.png" alt="" width="180" height="181" /></a></p>
<p><a href="http://itunes.apple.com/hk/app/id408859136?mt=8" target="_blank">通識Plus 01</a><br />
<a href="http://itunes.apple.com/hk/app/id408859136?mt=8" target="_blank">http://itunes.apple.com/hk/app/id408859136?mt=8</a></p>
<p><a href="http://itunes.apple.com/hk/app/id417212268?mt=8" target="_blank"><img class="alignnone size-full wp-image-4045" title="Screen shot 2011-02-10 at 20.19.40" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.19.40-.png" alt="" width="180" height="195" /></a><br />
<a href="http://itunes.apple.com/hk/app/id417212268?mt=8" target="_blank">通識Plus 03</a><br />
<a href="http://itunes.apple.com/hk/app/id417212268?mt=8" target="_blank">http://itunes.apple.com/hk/app/id417212268?mt=8</a></p>
<p><a href="http://itunes.apple.com/hk/app/id417162305?mt=8" target="_blank"><img class="alignnone size-full wp-image-4046" title="Screen shot 2011-02-10 at 20.21.01" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.21.01-.png" alt="" width="179" height="196" /></a><br />
<a href="http://itunes.apple.com/hk/app/id417162305?mt=8" target="_blank">政法多面睇 1</a><br />
<a href="http://itunes.apple.com/hk/app/id417162305?mt=8" target="_blank">http://itunes.apple.com/hk/app/id417162305?mt=8</a></p>
<p><a href="http://itunes.apple.com/hk/app/id417213875?mt=8" target="_blank"><img class="alignnone size-full wp-image-4047" title="Screen shot 2011-02-10 at 20.22.32" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.22.32-.png" alt="" width="179" height="195" /></a><br />
<a href="http://itunes.apple.com/hk/app/id417213875?mt=8" target="_blank">政法多面睇 2</a><br />
<a href="http://itunes.apple.com/hk/app/id417213875?mt=8" target="_blank">http://itunes.apple.com/hk/app/id417213875?mt=8</a></p>
<p><a href="http://itunes.apple.com/app/id417214402?mt=8" target="_blank"><img class="alignnone size-full wp-image-4048" title="Screen shot 2011-02-10 at 20.23.48" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.23.48-.png" alt="" width="180" height="189" /></a><br />
<a href="http://itunes.apple.com/app/id417214402?mt=8" target="_blank">時事看法律</a><br />
<a href="http://itunes.apple.com/app/id417214402?mt=8" target="_blank">http://itunes.apple.com/app/id417214402?mt=8</a></p>
<p><a href="http://itunes.apple.com/app/id417215236?mt=8" target="_blank"><img class="alignnone size-full wp-image-4049" title="Screen shot 2011-02-10 at 20.25.04" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.25.04-.png" alt="" width="181" height="188" /></a><br />
<a href="http://itunes.apple.com/app/id417215236?mt=8" target="_blank">崖岸自高 1</a><br />
<a href="http://itunes.apple.com/app/id417215236?mt=8" target="_blank">http://itunes.apple.com/app/id417215236?mt=8</a></p>
<p><a href="http://itunes.apple.com/app/id417216420?mt=8" target="_blank"><img class="alignnone size-full wp-image-4050" title="Screen shot 2011-02-10 at 20.26.10" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.26.10-.png" alt="" width="180" height="189" /></a><br />
<a href="http://itunes.apple.com/app/id417216420?mt=8" target="_blank">崖岸自高 2</a><br />
<a href="http://itunes.apple.com/app/id417216420?mt=8" target="_blank">http://itunes.apple.com/app/id417216420?mt=8</a></p>
<p><a href="http://itunes.apple.com/hk/app/id417213212?mt=8" target="_blank"><img class="alignnone size-full wp-image-4051" title="Screen shot 2011-02-10 at 20.27.29" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.27.29-.png" alt="" width="184" height="194" /></a><br />
<a href="http://itunes.apple.com/hk/app/id417213212?mt=8" target="_blank">聖經要道</a><br />
<a href="http://itunes.apple.com/hk/app/id417213212?mt=8" target="_blank">http://itunes.apple.com/hk/app/id417213212?mt=8</a></p>
<p><strong>另外更新左：</strong></p>
<p><strong><a href="hhttp://itunes.apple.com/hk/app/id408381268?mt=8" target="_blank"><img class="alignnone size-full wp-image-4043" title="Screen shot 2011-02-10 at 20.15.55" src="http://orz.hk/wp-content/uploads/2011/02/Screen-shot-2011-02-10-at-20.15.55-.png" alt="" width="181" height="185" /></a></p>
<p><a href="http://itunes.apple.com/hk/app/id408381268?mt=8" target="_blank">通識Plus 02</a><br />
<a href="http://itunes.apple.com/hk/app/id408381268?mt=8" target="_blank">http://itunes.apple.com/hk/app/id408381268?mt=8</a></p>
<p></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2011/02/10/4040/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>強制 Facebook 用 https (Chrome / Chromium)</title>
		<link>http://orz.hk/2010/12/02/3925/</link>
		<comments>http://orz.hk/2010/12/02/3925/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 11:39:48 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3925</guid>
		<description><![CDATA[今日今日好多人將大量個人私隱放上 facebook, 不過 facebook 本身行 HTTP 而唔係 HTTPS, 所以都幾危險下。 就算 facebook 入面用埋 privacy setting 絕對係唔夠，最大既唔好處就係有機會俾人攔截黎睇個人資料，, 所以比較保安既做法係用 HTTPS。雖然 facebook 唔俾一般人用 HTTPS, 但係佢地本身支援, 可惜就唔可以喺 facebook 入面設定預設用 HTTPS, 唯有用其他方法強制設定 facebook 用 HTTPS, Chrome / Chromium 就可以用以下 Extension: https://chrome.google.com/extensions/detail/kbkgnojednemejclpggpnhlhlhkmfidi]]></description>
			<content:encoded><![CDATA[<p>今日今日好多人將大量個人私隱放上 facebook, 不過 facebook 本身行 HTTP 而唔係 HTTPS, 所以都幾危險下。 就算 facebook 入面用埋 privacy setting 絕對係唔夠，最大既唔好處就係有機會俾人攔截黎睇個人資料，, 所以比較保安既做法係用 HTTPS。雖然 facebook 唔俾一般人用 HTTPS, 但係佢地本身支援, 可惜就唔可以喺 facebook 入面設定預設用 HTTPS, 唯有用其他方法強制設定 facebook 用 HTTPS, Chrome / Chromium 就可以用以下 Extension:</p>
<p><a href=https://chrome.google.com/extensions/detail/kbkgnojednemejclpggpnhlhlhkmfidi target=_blank>https://chrome.google.com/extensions/detail/kbkgnojednemejclpggpnhlhlhkmfidi</a></p>
<p><img src="http://orz.hk/wp-content/uploads/2010/11/Screen-shot-2010-11-18-at-21.02.03-.png" alt="" title="Screen shot 2010-11-18 at 21.02.03" width="334" height="382" class="alignnone size-full wp-image-3926" /></p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/12/02/3925/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Megaupload 喺香港開唔到， 可以點算?</title>
		<link>http://orz.hk/2010/11/18/3923/</link>
		<comments>http://orz.hk/2010/11/18/3923/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 09:15:27 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3923</guid>
		<description><![CDATA[如果喺香港開 megaupload.com 就會出現 &#8220;This service is temporarily not available from your service area.&#8221;， 即係 megaupload block 左香港既 IP。  我試過搖控大陸既伺服器去反而去到， 即係應該冇 block 到大陸吧。要由香港‘翻牆’去 megaupload 既解決方法如下: 上大陸 download, 可以去網吧 (癈話&#8230;) 租大陸既 server 再搖控 用大陸既 VPN 再由大陸 route 出去 用 anonymous proxy]]></description>
			<content:encoded><![CDATA[<p>如果喺香港開 megaupload.com 就會出現 &#8220;This service is temporarily not available from your service area.&#8221;， 即係 megaupload block 左香港既 IP。  我試過搖控大陸既伺服器去反而去到， 即係應該冇 block 到大陸吧。要由香港‘翻牆’去 megaupload 既解決方法如下:</p>
<ol>
<li>上大陸 download, 可以去網吧 (癈話&#8230;)</li>
<li>租大陸既 server 再搖控</li>
<li>用大陸既 VPN 再由大陸 route 出去</li>
<li>用 anonymous proxy</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/11/18/3923/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>試玩蘋果皮 520 Apple Peel</title>
		<link>http://orz.hk/2010/11/05/3908/</link>
		<comments>http://orz.hk/2010/11/05/3908/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 04:36:15 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3908</guid>
		<description><![CDATA[我用 ipod touch 3rd generation, firmware 係 4.1, 原本用 ipod touch 當 iphone 依個概念係好好，但試完之後有幾個重大缺憾: 用原裝免提音質好差，基本上唔駛聽音樂, 用其他 headphones 又冇咁既問題， 解決方法就係唔好用免提，或者用藍牙 喺 Music / Video 度用唔到側邊兩個button 較大細聲，理論上jailbreak 左既機可以裝其他 player 去配合, 但未見有咁既 player 出現，對於用開 ipod touch 嚟聽歌既用家係一個死症 聽電話個 speaker 喺機背，聽電話時距離耳仔大約2cm, 結果造成漏聲出去俾其他人聽到，環境聲響亦會漏入影響收聽質素。依個設計問題應該有空間改善，我可以自己改裝將 speaker 移向前，或者等下一代改良 部機好厚， 個人覺得重左冇問題，但大舊就影響外觀, 可能我試玩 iphone 多， 感覺上佢出黎有點怪怪地, 硬係有d 唔聚財&#8230; 通話回音處理得唔好， 我唔介意佢冇取消環境雜音同埋加強人聲既功能， 但回音應該唔難處理都冇處理到&#8230; 面蓋易爛，已經好小心咁拆， 但係都玩爛左人地個面蓋，要去淘宝 bid 返個返黎:]]></description>
			<content:encoded><![CDATA[<p>我用 ipod touch 3rd generation, firmware 係 4.1, 原本用 ipod touch 當 iphone 依個概念係好好，但試完之後有幾個重大缺憾:</p>
<ol>
<li>用原裝免提音質好差，基本上唔駛聽音樂, 用其他 headphones 又冇咁既問題， 解決方法就係唔好用免提，或者用藍牙</li>
<li>喺 Music / Video 度用唔到側邊兩個button 較大細聲，理論上jailbreak 左既機可以裝其他 player 去配合, 但未見有咁既 player 出現，對於用開 ipod touch 嚟聽歌既用家係一個死症</li>
<li>聽電話個 speaker 喺機背，聽電話時距離耳仔大約2cm, 結果造成漏聲出去俾其他人聽到，環境聲響亦會漏入影響收聽質素。依個設計問題應該有空間改善，我可以自己改裝將 speaker 移向前，或者等下一代改良</li>
<li>部機好厚， 個人覺得重左冇問題，但大舊就影響外觀, 可能我試玩 iphone 多， 感覺上佢出黎有點怪怪地, 硬係有d 唔聚財&#8230;</li>
<li>通話回音處理得唔好， 我唔介意佢冇取消環境雜音同埋加強人聲既功能， 但回音應該唔難處理都冇處理到&#8230;</li>
<li>面蓋易爛，已經好小心咁拆， 但係都玩爛左人地個面蓋，要去淘宝 bid 返個返黎:</li>
<p><img src="http://orz.hk/wp-content/uploads/2010/11/0105_152755.jpg" alt="" title="HELLOMOTO" width="600" height="507" class="alignnone size-full wp-image-3913" />
</ol>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/11/05/3908/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Desktop Software Comparison Chart</title>
		<link>http://orz.hk/2010/09/13/3867/</link>
		<comments>http://orz.hk/2010/09/13/3867/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 07:09:35 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3867</guid>
		<description><![CDATA[by remotedesktopmac.com @ http://www.remotedesktopmac.com/remote-desktop-comparison-chart]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.remotedesktopmac.com"><img src="http://www.remotedesktopmac.com/wp-content/uploads/2010/07/remote-desktop-software-chart-890px.jpg" alt="remote desktop software" width="100%"></p>
<p>by remotedesktopmac.com @ http://www.remotedesktopmac.com/remote-desktop-comparison-chart</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/09/13/3867/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>喺 mac 度用macport 裝 gimp 千祈唔好用 python 26</title>
		<link>http://orz.hk/2010/08/14/3856/</link>
		<comments>http://orz.hk/2010/08/14/3856/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 07:21:48 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3856</guid>
		<description><![CDATA[雖然 Photoshop 好強大，但係我用開 Linux 始終對 gimp 情有獨鍾。用 gimp 個 official package 裝但唔成功，於是用 macport 嚟裝。 裝嘅過程都幾痛苦，首先去安裝 macport: http://www.macports.org/ 然後開我最常用既 Terminal, 喺 command prompt 度打: sudo port instal gimp 雖然開始好簡單，之但係佢會download 成大堆 packages 嚟 build，結果斷斷續續 build 在成兩日, 最後出log 左個 error 喺 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/main.log: *** Could not find PyGTK 2.10.4 or newer. *** Please install it, or skip building the [...]]]></description>
			<content:encoded><![CDATA[<p>雖然 Photoshop 好強大，但係我用開 Linux 始終對 gimp 情有獨鍾。用 gimp 個 official package 裝但唔成功，於是用 macport 嚟裝。</p>
<p>裝嘅過程都幾痛苦，首先去安裝 macport:<br />
<a href="http://www.macports.org/" target=_blank>http://www.macports.org/</a></p>
<p>然後開我最常用既 Terminal, 喺 command prompt 度打:</p>
<pre>
sudo port instal gimp
</pre>
<p>雖然開始好簡單，之但係佢會download 成大堆 packages 嚟 build，結果斷斷續續 build 在成兩日, 最後出log 左個 error 喺<br />
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gimp2/main.log:</p>
<pre>
*** Could not find PyGTK 2.10.4 or newer.
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).
</pre>
<p>就算裝左 py26-gtk 都出同一個 error, 所以唯有 downgrade 到 py25-gtk:</p>
<pre>
sudo port install python25
sudo python_select python25
sudo port install py25-gtk
</pre>
<p>咁繼續行 sudo port install gimp 就可以在功告成。</p>
<p>成功裝咗之後開嚟玩吓，比起 Photoshop CS5 都快， 但比起同樣係 open source 嘅 SeaShore 就慢好多了。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/08/14/3856/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chromium / Chrome command line parameter list revision 51604</title>
		<link>http://orz.hk/2010/07/07/3832/</link>
		<comments>http://orz.hk/2010/07/07/3832/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 16:02:10 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[Chroium]]></category>
		<category><![CDATA[Chrome]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3832</guid>
		<description><![CDATA[純粹由 chrome_switches.cc extract 出黎, 好多我都唔知乜功能, 哈哈! 基本 parameters: // Activate (make foreground) myself on launch. Helpful when Chrome // is launched on the command line (e.g. by Selenium). Only needed on Mac. kActivateOnLaunch = &#34;activate-on-launch&#34;; &#160; // By default, file:// URIs cannot read other file:// URIs. This is an // override for developers who need [...]]]></description>
			<content:encoded><![CDATA[<p>純粹由 chrome_switches.cc extract 出黎, 好多我都唔知乜功能, 哈哈!<br />
<strong>基本 parameters:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Activate (make foreground) myself on launch.  Helpful when Chrome</span>
<span style="color: #666666; font-style: italic;">// is launched on the command line (e.g. by Selenium).  Only needed on Mac.</span>
kActivateOnLaunch              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;activate-on-launch&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// By default, file:// URIs cannot read other file:// URIs. This is an</span>
<span style="color: #666666; font-style: italic;">// override for developers who need the old behavior for testing.</span>
kAllowFileAccessFromFiles      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;allow-file-access-from-files&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Allows debugging of sandboxed processes (see zygote_main_linux.cc).</span>
kAllowSandboxDebugging         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;allow-sandbox-debugging&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable web inspector for all windows, even if they're part of the browser.</span>
<span style="color: #666666; font-style: italic;">// Allows us to use our dev tools to debug browser windows itself.</span>
kAlwaysEnableDevTools          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;always-enable-dev-tools&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies that the associated value should be launched in &quot;application&quot; mode.</span>
kApp                           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;app&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies that the extension-app with the specified id should be launched</span>
<span style="color: #666666; font-style: italic;">// according to its configuration.</span>
kAppId                         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;app-id&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Lacks meaning with out kApp. Causes the specified app to be launched in an</span>
<span style="color: #666666; font-style: italic;">// panel window.</span>
kAppLaunchAsPanel              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;app-launch-as-panel&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Makes the app launcher popup when a new tab is created.</span>
kAppsPanel                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;apps-panel&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The URL to use for the gallery link in the app launcher.</span>
kAppsGalleryURL                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;apps-gallery-url&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable throbber for extension apps.</span>
kAppsNoThrob                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;apps-no-throb&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Whether to display the &quot;Debug&quot; link for app launch behavior.</span>
kAppsDebug      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;apps-debug&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Authentication white list for servers</span>
kAuthServerWhitelist           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;auth-server-whitelist&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The value of this switch tells the app to listen for and broadcast</span>
<span style="color: #666666; font-style: italic;">// automation-related messages on IPC channel with the given ID.</span>
kAutomationClientChannelID     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;automation-channel&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the browser process to throw an assertion on startup.</span>
kBrowserAssertTest             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;assert-test&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the browser process to crash on startup.</span>
kBrowserCrashTest              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;crash-test&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Path to the exe to run for the renderer and plugin subprocesses.</span>
kBrowserSubprocessPath         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;browser-subprocess-path&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Run Chrome in Chrome Frame mode. This means that Chrome expects to be run</span>
<span style="color: #666666; font-style: italic;">// as a dependent process of the Chrome Frame plugin.</span>
kChromeFrame                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;chrome-frame&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The unique id to be used for this cloud print proxy instance.</span>
kCloudPrintProxyId             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;cloud-print-proxy-id&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The URL of the cloud print service to use, overrides any value</span>
<span style="color: #666666; font-style: italic;">// stored in preferences, and the default.  Only used if the cloud</span>
<span style="color: #666666; font-style: italic;">// print service has been enabled (see enable-cloud-print).</span>
kCloudPrintServiceURL          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;cloud-print-service&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The Country we should use.  This is normally obtained from the operating</span>
<span style="color: #666666; font-style: italic;">// system during first run and cached in the preferences afterwards.  This is a</span>
<span style="color: #666666; font-style: italic;">// string value, the 2 letter code from ISO 3166-1.</span>
kCountry                       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;country&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables support to debug printing subsystem.</span>
kDebugPrint                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;debug-print&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Triggers a pletora of diagnostic modes.</span>
kDiagnostics                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;diagnostics&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disables the alternate window station for the renderer.</span>
kDisableAltWinstation          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-winsta&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable the ApplicationCache.</span>
kDisableApplicationCache       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-application-cache&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Replaces the audio IPC layer for  and  with a mock audio</span>
<span style="color: #666666; font-style: italic;">// device, useful when using remote desktop or machines without sound cards.</span>
<span style="color: #666666; font-style: italic;">// This is temporary until we fix the underlying problem.</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// TODO(scherkus): remove --disable-audio when we have a proper fallback</span>
<span style="color: #666666; font-style: italic;">// mechanism.</span>
kDisableAudio                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-audio&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable CNAME lookup of the host when generating the Kerberos SPN for a</span>
<span style="color: #666666; font-style: italic;">// Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN</span>
<span style="color: #666666; font-style: italic;">// for more background.</span>
kDisableAuthNegotiateCnameLookup <span style="color: #339933;">=</span>
    <span style="color: #ff0000;">&quot;disable-auth-negotiate-cname-lookup&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable limits on the number of backing stores. Can prevent blinking for</span>
<span style="color: #666666; font-style: italic;">// users with many windows/tabs and lots of memory.</span>
kDisableBackingStoreLimit      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-backing-store-limit&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable support for cached byte-ranges.</span>
kDisableByteRangeSupport       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-byte-range-support&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disables the custom JumpList on Windows 7.</span>
kDisableCustomJumpList         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-custom-jumplist&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disables HTML5 DB support.</span>
kDisableDatabases              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-databases&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disables desktop notifications (default enabled on windows).</span>
kDisableDesktopNotifications   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-desktop-notifications&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Browser flag to disable the web inspector for all renderers.</span>
kDisableDevTools               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-dev-tools&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable extensions.</span>
kDisableExtensions             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-extensions&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable checking for user opt-in for extensions that want to inject script</span>
<span style="color: #666666; font-style: italic;">// into file URLs (ie, always allow it). This is used during automated testing.</span>
kDisableExtensionsFileAccessCheck <span style="color: #339933;">=</span>
    <span style="color: #ff0000;">&quot;disable-extensions-file-access-check&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Suppresses support for the Geolocation javascript API.</span>
kDisableGeolocation            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-geolocation&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Suppresses hang monitor dialogs in renderer processes.</span>
kDisableHangMonitor            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-hang-monitor&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable the internal Flash Player.</span>
kDisableInternalFlash          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-internal-flash&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Don't resolve hostnames to IPv6 addresses. This can be used when debugging</span>
<span style="color: #666666; font-style: italic;">// issues relating to IPv6, but shouldn't otherwise be needed. Be sure to</span>
<span style="color: #666666; font-style: italic;">// file bugs if something isn't working properly in the presence of IPv6.</span>
<span style="color: #666666; font-style: italic;">// This flag can be overidden by the &quot;enable-ipv6&quot; flag.</span>
kDisableIPv6                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-ipv6&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Don't execute JavaScript (browser JS like the new tab page still runs).</span>
kDisableJavaScript             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-javascript&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Prevent Java from running.</span>
kDisableJava                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-java&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable LocalStorage.</span>
kDisableLocalStorage           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-local-storage&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Force logging to be disabled.  Logging is enabled by default in debug</span>
<span style="color: #666666; font-style: italic;">// builds.</span>
kDisableLogging                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-logging&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Whether we should prevent the new tab page from showing the first run</span>
<span style="color: #666666; font-style: italic;">// notification.</span>
kDisableNewTabFirstRun         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-new-tab-first-run&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Prevent plugins from running.</span>
kDisablePlugins                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-plugins&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable pop-up blocking.</span>
kDisablePopupBlocking          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-popup-blocking&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Normally when the user attempts to navigate to a page that was the result of</span>
<span style="color: #666666; font-style: italic;">// a post we prompt to make sure they want to. This switch may be used to</span>
<span style="color: #666666; font-style: italic;">// disable that check. This switch is used during automated testing.</span>
kDisablePromptOnRepost         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-prompt-on-repost&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable remote web font support. SVG font should always work whether</span>
<span style="color: #666666; font-style: italic;">// this option is specified or not.</span>
kDisableRemoteFonts            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-remote-fonts&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Turns off the accessibility in the renderer.</span>
kDisableRendererAccessibility  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-renderer-accessibility&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable session storage.</span>
kDisableSessionStorage         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-session-storage&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable shared workers. Functionality not yet complete.</span>
kDisableSharedWorkers          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-shared-workers&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable site-specific tailoring to compatibility issues in WebKit.</span>
kDisableSiteSpecificQuirks     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-site-specific-quirks&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable syncing browser data to a Google Account.</span>
kDisableSync                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-sync&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable syncing of autofill.</span>
kDisableSyncAutofill           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-sync-autofill&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable syncing of bookmarks.</span>
kDisableSyncBookmarks          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-sync-bookmarks&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable syncing of extensions.</span>
kDisableSyncExtensions         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-sync-extensions&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable syncing of passwords.</span>
kDisableSyncPasswords          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-sync-passwords&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable syncing of preferences.</span>
kDisableSyncPreferences        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-sync-preferences&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable syncing of themes.</span>
kDisableSyncThemes             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-sync-themes&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable syncing of typed urls.</span>
kDisableSyncTypedUrls          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-sync-typed-urls&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables the backend service for web resources, used in the new tab page for</span>
<span style="color: #666666; font-style: italic;">// loading tips and recommendations from a JSON feed.</span>
kDisableWebResources           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-web-resources&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Don't enforce the same-origin policy.  (Used by people testing their sites.)</span>
kDisableWebSecurity            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-web-security&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable Web Sockets support.</span>
kDisableWebSockets             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-web-sockets&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use a specific disk cache location, rather than one derived from the</span>
<span style="color: #666666; font-style: italic;">// UserDatadir.</span>
kDiskCacheDir                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disk-cache-dir&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Forces the maximum disk space to be used by the disk cache, in bytes.</span>
kDiskCacheSize                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disk-cache-size&quot;</span><span style="color: #339933;">;</span>
&nbsp;
kDnsLogDetails                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;dns-log-details&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disables prefetching of DNS information.</span>
kDnsPrefetchDisable            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;dns-prefetch-disable&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies if the dom_automation_controller_ needs to be bound in the</span>
<span style="color: #666666; font-style: italic;">// renderer. This binding happens on per-frame basis and hence can potentially</span>
<span style="color: #666666; font-style: italic;">// be a performance bottleneck. One should only enable it when automating</span>
<span style="color: #666666; font-style: italic;">// dom based tests.</span>
kDomAutomationController       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;dom-automation&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Dump any accumualted histograms to the log when browser terminates (requires</span>
<span style="color: #666666; font-style: italic;">// logging to be enabled to really do anything).  Used by developers and test</span>
<span style="color: #666666; font-style: italic;">// scripts.</span>
kDumpHistogramsOnExit          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;dump-histograms-on-exit&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable gpu-accelerated compositing.</span>
kEnableAcceleratedCompositing  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-accelerated-compositing&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables AeroPeek for each tab. (This switch only works on Windows 7).</span>
kEnableAeroPeekTabs            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-aero-peek-tabs&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable experimental extension apps.</span>
kEnableApps                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-apps&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable the inclusion of non-standard ports when generating the Kerberos SPN</span>
<span style="color: #666666; font-style: italic;">// in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN</span>
<span style="color: #666666; font-style: italic;">// for more background.</span>
kEnableAuthNegotiatePort       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-auth-negotiate-port&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables the benchmarking extensions.</span>
kEnableBenchmarking            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-benchmarking&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// This applies only when the process type is &quot;service&quot;. Enables the</span>
<span style="color: #666666; font-style: italic;">// Chromoting Host Process within the service process.</span>
kEnableChromoting              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-chromoting&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// This applies only when the process type is &quot;service&quot;. Enables the</span>
<span style="color: #666666; font-style: italic;">// Cloud Print Proxy component within the service process.</span>
kEnableCloudPrintProxy         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-cloud-print-proxy&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables the Cloud Print dialog hosting code.</span>
kEnableCloudPrint              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-cloud-print&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables extension APIs that are in development.</span>
kEnableExperimentalExtensionApis <span style="color: #339933;">=</span>
    <span style="color: #ff0000;">&quot;enable-experimental-extension-apis&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable experimental WebGL support.</span>
kEnableExperimentalWebGL       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-webgl&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable experimental timeline API.</span>
kEnableExtensionTimelineApi    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-extension-timeline-api&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable extension toolstrips (deprecated API - will be removed).</span>
kEnableExtensionToolstrips     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-extension-toolstrips&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable the fastback page cache.</span>
kEnableFastback                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-fastback&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// By default, cookies are not allowed on file://. They are needed for</span>
<span style="color: #666666; font-style: italic;">// testing, for example page cycler and layout tests.  See bug 1157243.</span>
kEnableFileCookies             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-file-cookies&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable the Indexed Database API.</span>
kEnableIndexedDatabase         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-indexed-database&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use the InMemoryURLIndex to back the HistoryURLProvider for autocomplete</span>
<span style="color: #666666; font-style: italic;">// results.  If not set, defaults to using the InMemoryDatabase.</span>
kEnableInMemoryURLIndex        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-in-memory-url-index&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable IPv6 support, even if probes suggest that it may not be fully</span>
<span style="color: #666666; font-style: italic;">// supported.  Some probes may require internet connections, and this flag will</span>
<span style="color: #666666; font-style: italic;">// allow support independent of application testing.</span>
<span style="color: #666666; font-style: italic;">// This flag overrides &quot;disable-ipv6&quot; which appears elswhere in this file.</span>
kEnableIPv6                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-ipv6&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable the GLSL translator.</span>
kEnableGLSLTranslator          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-glsl-translator&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable the GPU plugin and Pepper 3D rendering.</span>
kEnableGPUPlugin               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-gpu-plugin&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable experimental GPU rendering for backing store and video.</span>
kEnableGPURendering            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-gpu-rendering&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Force logging to be enabled.  Logging is disabled by default in release</span>
<span style="color: #666666; font-style: italic;">// builds.</span>
kEnableLogging                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-logging&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// On Windows, converts the page to the currently-installed monitor profile.</span>
<span style="color: #666666; font-style: italic;">// This does NOT enable color management for images. The source is still</span>
<span style="color: #666666; font-style: italic;">// assumed to be sRGB.</span>
kEnableMonitorProfile          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-monitor-profile&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs the Native Client inside the renderer process and enables GPU plugin</span>
<span style="color: #666666; font-style: italic;">// (internally adds kInternalNaCl and lEnableGpuPlugin to the command line).</span>
kEnableNaCl                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-nacl&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable Native Web Worker support.</span>
kEnableNativeWebWorkers        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-native-web-workers&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable speculative TCP/IP preconnection.</span>
kEnablePreconnect              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-preconnect&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable caching of pre-parsed JS script data.  See http://crbug.com/32407.</span>
kEnablePreparsedJsCaching      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-preparsed-js-caching&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable print preview (work in progress).</span>
kEnablePrintPreview            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-print-preview&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables StatsTable, logging statistics to a global named shared memory table.</span>
kEnableStatsTable              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-stats-table&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable syncing browser data to a Google Account.</span>
kEnableSync                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sync&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable syncing browser autofill.</span>
kEnableSyncAutofill            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sync-autofill&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable syncing browser bookmarks.</span>
kEnableSyncBookmarks           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sync-bookmarks&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable syncing browser extensions.</span>
kEnableSyncExtensions          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sync-extensions&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable syncing browser passwords.</span>
kEnableSyncPasswords           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sync-passwords&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable syncing browser preferences.</span>
kEnableSyncPreferences         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sync-preferences&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable syncing browser themes.</span>
kEnableSyncThemes              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sync-themes&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable syncing browser typed urls.</span>
kEnableSyncTypedUrls           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sync-typed-urls&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable tabbed options, ie: dom-ui version of options window.</span>
kEnableTabbedOptions           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-tabbed-options&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Whether or not the touch events API is exposed.</span>
kEnableTouch                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-touch&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables the option to show tabs as a vertical stack down the side of the</span>
<span style="color: #666666; font-style: italic;">// browser window.</span>
kEnableVerticalTabs            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-vertical-tabs&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables support for fullscreen video. Current implementation is</span>
<span style="color: #666666; font-style: italic;">// incomplete and this flag is used for development and testing.</span>
kEnableVideoFullscreen         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-video-fullscreen&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables video layering where video is rendered as a separate layer outside</span>
<span style="color: #666666; font-style: italic;">// of the backing store.</span>
kEnableVideoLayering           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-video-layering&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables video logging where video elements log playback performance data to</span>
<span style="color: #666666; font-style: italic;">// the debug log.</span>
kEnableVideoLogging            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-video-logging&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Spawn threads to watch for excessive delays in specified message loops.</span>
<span style="color: #666666; font-style: italic;">// User should set breakpoints on Alarm() to examine problematic thread.</span>
<span style="color: #666666; font-style: italic;">// Usage:   -enable-watchdog=[ui][io]</span>
<span style="color: #666666; font-style: italic;">// Order of the listed sub-arguments does not matter.</span>
kEnableWatchdog                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-watchdog&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disable WebKit's XSSAuditor.  The XSSAuditor mitigates reflective XSS.</span>
kEnableXSSAuditor              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-xss-auditor&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables the experimental Negotiate authentication protocol.</span>
kExperimentalEnableNegotiateAuth <span style="color: #339933;">=</span>
    <span style="color: #ff0000;">&quot;experimental-enable-negotiate-auth&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables experimental features for Spellchecker. Right now, the first</span>
<span style="color: #666666; font-style: italic;">// experimental feature is auto spell correct, which corrects words which are</span>
<span style="color: #666666; font-style: italic;">// misppelled by typing the word with two consecutive letters swapped. The</span>
<span style="color: #666666; font-style: italic;">// features that will be added next are:</span>
<span style="color: #666666; font-style: italic;">// 1 - Allow multiple spellcheckers to work simultaneously.</span>
<span style="color: #666666; font-style: italic;">// 2 - Allow automatic detection of spell check language.</span>
<span style="color: #666666; font-style: italic;">// TODO(sidchat): Implement the above fetaures to work under this flag.</span>
kExperimentalSpellcheckerFeatures <span style="color: #339933;">=</span>
    <span style="color: #ff0000;">&quot;experimental-spellchecker-features&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Explicitly allow additional ports using a comma separated list of port</span>
<span style="color: #666666; font-style: italic;">// numbers.</span>
kExplicitlyAllowedPorts        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;explicitly-allowed-ports&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as an extension subprocess.</span>
kExtensionProcess              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;extension&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Frequency in seconds for Extensions auto-update.</span>
kExtensionsUpdateFrequency     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;extensions-update-frequency&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The file descriptor limit is set to the value of this switch, subject to the</span>
<span style="color: #666666; font-style: italic;">// OS hard limits. Useful for testing that file descriptor exhaustion is handled</span>
<span style="color: #666666; font-style: italic;">// gracefully.</span>
kFileDescriptorLimit           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;file-descriptor-limit&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Display the First Run experience when the browser is started, regardless of</span>
<span style="color: #666666; font-style: italic;">// whether or not it's actually the first run.</span>
kFirstRun                      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;first-run&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Some field tests may rendomized in the browser, and the randomly selected</span>
<span style="color: #666666; font-style: italic;">// outcome needs to be propogated to the renderer.  For instance, this is used</span>
<span style="color: #666666; font-style: italic;">// to modify histograms recorded in the renderer, or to get the renderer to</span>
<span style="color: #666666; font-style: italic;">// also set of its state (initialize, or not initialize components) to match the</span>
<span style="color: #666666; font-style: italic;">// experiment(s).</span>
<span style="color: #666666; font-style: italic;">// The argument is a string-ized list of experiment names, and the associated</span>
<span style="color: #666666; font-style: italic;">// value that was randomly selected.  In the recent implementetaion, the</span>
<span style="color: #666666; font-style: italic;">// persistent representation generated by field_trial.cc and later decoded, is a</span>
<span style="color: #666666; font-style: italic;">// list of name and value pairs, separated by slashes. See field trial.cc for</span>
<span style="color: #666666; font-style: italic;">// current details.</span>
kForceFieldTestNameAndValue    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;force-fieldtest&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Extra command line options for launching the GPU process (normally used</span>
<span style="color: #666666; font-style: italic;">// for debugging). Use like renderer-cmd-prefix.</span>
kGpuLauncher                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;gpu-launcher&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Makes this process a GPU sub-process.</span>
kGpuProcess                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;gpu-process&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the GPU process to display a dialog on launch.</span>
kGpuStartupDialog              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;gpu-startup-dialog&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// These flags show the man page on Linux. They are equivalent to each</span>
<span style="color: #666666; font-style: italic;">// other.</span>
kHelp                          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;help&quot;</span><span style="color: #339933;">;</span>
kHelpShort                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;h&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Make Windows happy by allowing it to show &quot;Enable access to this program&quot;</span>
<span style="color: #666666; font-style: italic;">// checkbox in Add/Remove Programs-&amp;gt;Set Program Access and Defaults. This</span>
<span style="color: #666666; font-style: italic;">// only shows an error box because the only way to hide Chrome is by</span>
<span style="color: #666666; font-style: italic;">// uninstalling it.</span>
kHideIcons                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;hide-icons&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The value of this switch specifies which page will be displayed</span>
<span style="color: #666666; font-style: italic;">// in newly-opened tabs.  We need this for testing purposes so</span>
<span style="color: #666666; font-style: italic;">// that the UI tests don't depend on what comes up for http://google.com.</span>
kHomePage                      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;homepage&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Comma separated list of rules that control how hostnames are mapped.</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// For example:</span>
<span style="color: #666666; font-style: italic;">//    &quot;MAP * 127.0.0.1&quot; --&amp;gt; Forces all hostnames to be mapped to 127.0.0.1</span>
<span style="color: #666666; font-style: italic;">//    &quot;MAP *.google.com proxy&quot; --&amp;gt; Forces all google.com subdomains to be</span>
<span style="color: #666666; font-style: italic;">//                                 resolved to &quot;proxy&quot;.</span>
<span style="color: #666666; font-style: italic;">//    &quot;MAP test.com [::1]:77 --&amp;gt; Forces &quot;test.com&quot; to resolve to IPv6 loopback.</span>
<span style="color: #666666; font-style: italic;">//                               Will also force the port of the resulting</span>
<span style="color: #666666; font-style: italic;">//                               socket address to be 77.</span>
<span style="color: #666666; font-style: italic;">//    &quot;MAP * baz, EXCLUDE www.google.com&quot; --&amp;gt; Remaps everything to &quot;baz&quot;,</span>
<span style="color: #666666; font-style: italic;">//                                            except for &quot;www.google.com&quot;.</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// These mappings apply to the endpoint host in a URLRequest (the TCP connect</span>
<span style="color: #666666; font-style: italic;">// and host resolver in a direct connection, and the CONNECT in an http proxy</span>
<span style="color: #666666; font-style: italic;">// connection, and the endpoint host in a SOCKS proxy connection).</span>
kHostRules                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;host-rules&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// These mappins only apply to the host resolver.</span>
kHostResolverRules             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;host-resolver-rules&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Perform importing from another browser. The value associated with this</span>
<span style="color: #666666; font-style: italic;">// setting encodes the target browser and what items to import.</span>
kImport                        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;import&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Perform bookmark importing from an HTML file. The value associated with this</span>
<span style="color: #666666; font-style: italic;">// setting encodes the file path. It may be used jointly with kImport.</span>
kImportFromFile                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;import-from-file&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs plugins inside the renderer process</span>
kInProcessPlugins              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;in-process-plugins&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs WebGL inside the renderer process.</span>
kInProcessWebGL                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;in-process-webgl&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the browser to launch directly in incognito mode.</span>
kIncognito                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;incognito&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Back up the profile.</span>
kInstallerTestBackup           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;backup&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Control the build under test.</span>
kInstallerTestBuild            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;build&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Uninstall before running the tests.</span>
kInstallerTestClean            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;clean&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Force the installer tests to run, regardless of the current platform.</span>
kInstallerTestForce            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;force&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs the Native Client inside the renderer process.</span>
kInternalNaCl                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;internal-nacl&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs a trusted Pepper plugin inside the renderer process.</span>
kInternalPepper                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;internal-pepper&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The following flags allow users who can reproduce crbug/35198</span>
<span style="color: #666666; font-style: italic;">// to enable extra logging and behaviors.  They will be removed once</span>
<span style="color: #666666; font-style: italic;">// the issue is fixed.</span>
kIssue35198CrxDirBrowser       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;issue35198-crxdir-browser&quot;</span><span style="color: #339933;">;</span>
kIssue35198ExtraLogging        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;issue35198-logging&quot;</span><span style="color: #339933;">;</span>
kIssue35198Permission          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;issue35198-permission&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies the flags passed to JS engine</span>
kJavaScriptFlags               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;js-flags&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Load an extension from the specified directory.</span>
kLoadExtension                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;load-extension&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Load an NPAPI plugin from the specified path.</span>
kLoadPlugin                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;load-plugin&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Load NPAPI plugins from the specified directory.</span>
kExtraPluginDir                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;extra-plugin-dir&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Will filter log messages to show only the messages that are prefixed</span>
<span style="color: #666666; font-style: italic;">// with the specified value. See also kEnableLogging and kLoggingLevel.</span>
kLogFilterPrefix               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;log-filter-prefix&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Make plugin processes log their sent and received messages to LOG(INFO).</span>
kLogPluginMessages             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;log-plugin-messages&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Sets the minimum log level. Valid values are from 0 to 3:</span>
<span style="color: #666666; font-style: italic;">// INFO = 0, WARNING = 1, LOG_ERROR = 2, LOG_FATAL = 3.</span>
kLoggingLevel                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;log-level&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Make Chrome default browser</span>
kMakeDefaultBrowser            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;make-default-browser&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Forces the maximum disk space to be used by the media cache, in bytes.</span>
kMediaCacheSize                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;media-cache-size&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable dynamic loading of the Memory Profiler DLL, which will trace</span>
<span style="color: #666666; font-style: italic;">// all memory allocations during the run.</span>
kMemoryProfiling               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;memory-profile&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable histograming of tasks served by MessageLoop. See about:histograms/Loop</span>
<span style="color: #666666; font-style: italic;">// for results, which show frequency of messages on each thread, including APC</span>
<span style="color: #666666; font-style: italic;">// count, object signalling count, etc.</span>
kMessageLoopHistogrammer       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;message-loop-histogrammer&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables the recording of metrics reports but disables reporting.  In</span>
<span style="color: #666666; font-style: italic;">// contrast to kDisableMetrics, this executes all the code that a normal client</span>
<span style="color: #666666; font-style: italic;">// would use for reporting, except the report is dropped rather than sent to</span>
<span style="color: #666666; font-style: italic;">// the server. This is useful for finding issues in the metrics code during UI</span>
<span style="color: #666666; font-style: italic;">// and performance tests.</span>
kMetricsRecordingOnly          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;metrics-recording-only&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as a NativeClient broker</span>
<span style="color: #666666; font-style: italic;">// (used for launching NaCl loader processes on 64-bit Windows).</span>
kNaClBrokerProcess             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;nacl-broker&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as a NativeClient loader.</span>
kNaClLoaderProcess             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;nacl-loader&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the Native Client process to display a dialog on launch.</span>
kNaClStartupDialog             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;nacl-startup-dialog&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Uses the new unified app menu instead of the old &quot;page/app&quot; split menus.</span>
kNewWrenchMenu                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;new-wrench-menu&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Disables the default browser check. Useful for UI/browser tests where we</span>
<span style="color: #666666; font-style: italic;">// want to avoid having the default browser info-bar displayed.</span>
kNoDefaultBrowserCheck         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;no-default-browser-check&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Don't record/playback events when using record &amp;amp; playback.</span>
kNoEvents                      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;no-events&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Bypass the First Run experience when the browser is started, regardless of</span>
<span style="color: #666666; font-style: italic;">// whether or not it's actually the first run. Overrides kFirstRun in case</span>
<span style="color: #666666; font-style: italic;">// you're for some reason tempted to pass them both.</span>
kNoFirstRun                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;no-first-run&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Support a separate switch that enables the v8 playback extension.</span>
<span style="color: #666666; font-style: italic;">// The extension causes javascript calls to Date.now() and Math.random()</span>
<span style="color: #666666; font-style: italic;">// to return consistent values, such that subsequent loads of the same</span>
<span style="color: #666666; font-style: italic;">// page will result in consistent js-generated data and XHR requests.</span>
<span style="color: #666666; font-style: italic;">// Pages may still be able to generate inconsistent data from plugins.</span>
kNoJsRandomness                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;no-js-randomness&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Don't send HTTP-Referer headers.</span>
kNoReferrers                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;no-referrers&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Don't use a proxy server, always make direct connections. Overrides any</span>
<span style="color: #666666; font-style: italic;">// other proxy server flags that are passed.</span>
kNoProxyServer                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;no-proxy-server&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs the renderer outside the sandbox.</span>
kNoSandbox                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;no-sandbox&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Launch URL in new browser window.</span>
kOpenInNewWindow               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;new-window&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Package an extension to a .crx installable file from a given directory.</span>
kPackExtension                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;pack-extension&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Optional PEM private key is to use in signing packaged .crx.</span>
kPackExtensionKey              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;pack-extension-key&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies the path to the user data folder for the parent profile.</span>
kParentProfile                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;parent-profile&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Read previously recorded data from the cache. Only cached data is read.</span>
<span style="color: #666666; font-style: italic;">// See kRecordMode.</span>
kPlaybackMode                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;playback-mode&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies the plugin data directory, which is where plugins (Gears</span>
<span style="color: #666666; font-style: italic;">// specifically) will store its state.</span>
kPluginDataDir                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;plugin-data-dir&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies a command that should be used to launch the plugin process.  Useful</span>
<span style="color: #666666; font-style: italic;">// for running the plugin process through purify or quantify.  Ex:</span>
<span style="color: #666666; font-style: italic;">//   --plugin-launcher=&quot;path\to\purify /Run=yes&quot;</span>
kPluginLauncher                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;plugin-launcher&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Tells the plugin process the path of the plugin to load</span>
kPluginPath                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;plugin-path&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as a plugin subprocess.</span>
kPluginProcess                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;plugin&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the plugin process to display a dialog on launch.</span>
kPluginStartupDialog           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;plugin-startup-dialog&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Prints the pages on the screen.</span>
kPrint <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;print&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs a single process for each site (i.e., group of pages from the same</span>
<span style="color: #666666; font-style: italic;">// registered domain) the user visits.  We default to using a renderer process</span>
<span style="color: #666666; font-style: italic;">// for each site instance (i.e., group of pages from the same registered</span>
<span style="color: #666666; font-style: italic;">// domain with script connections to each other).</span>
kProcessPerSite                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;process-per-site&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs each set of script-connected tabs (i.e., a BrowsingInstance) in its own</span>
<span style="color: #666666; font-style: italic;">// renderer process.  We default to using a renderer process for each</span>
<span style="color: #666666; font-style: italic;">// site instance (i.e., group of pages from the same registered domain with</span>
<span style="color: #666666; font-style: italic;">// script connections to each other).</span>
kProcessPerTab                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;process-per-tab&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Output the product version information and quit. Used as an internal api to</span>
<span style="color: #666666; font-style: italic;">// detect the installed version of Chrome on Linux.</span>
kProductVersion                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;product-version&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as a profile import subprocess.</span>
kProfileImportProcess          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;profile-import&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Force proxy auto-detection.</span>
kProxyAutoDetect               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;proxy-auto-detect&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specify a list of hosts for whom we bypass proxy settings and use direct</span>
<span style="color: #666666; font-style: italic;">// connections. Ignored if --proxy-auto-detect or --no-proxy-server are</span>
<span style="color: #666666; font-style: italic;">// also specified.</span>
<span style="color: #666666; font-style: italic;">// This is a comma separated list of bypass rules. See:</span>
<span style="color: #666666; font-style: italic;">// &quot;net/proxy/proxy_bypass_rules.h&quot; for the format of these rules.</span>
kProxyBypassList               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;proxy-bypass-list&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use the pac script at the given URL</span>
kProxyPacUrl                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;proxy-pac-url&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use a specified proxy server, overrides system settings. This switch only</span>
<span style="color: #666666; font-style: italic;">// affects HTTP and HTTPS requests.</span>
kProxyServer                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;proxy-server&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Adds a &quot;Purge memory&quot; button to the Task Manager, which tries to dump as</span>
<span style="color: #666666; font-style: italic;">// much memory as possible.  This is mostly useful for testing how well the</span>
<span style="color: #666666; font-style: italic;">// MemoryPurger functionality works.</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// NOTE: This is only implemented for Views.</span>
kPurgeMemoryButton             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;purge-memory-button&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Chrome supports a playback and record mode.  Record mode saves *everything*</span>
<span style="color: #666666; font-style: italic;">// to the cache.  Playback mode reads data exclusively from the cache.  This</span>
<span style="color: #666666; font-style: italic;">// allows us to record a session into the cache and then replay it at will.</span>
<span style="color: #666666; font-style: italic;">// See also kPlaybackMode.</span>
kRecordMode                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;record-mode&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Register pepper plugins that should be loaded into the renderer.</span>
kRegisterPepperPlugins         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;register-pepper-plugins&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable remote debug / automation shell on the specified port.</span>
kRemoteShellPort               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;remote-shell-port&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the renderer process to throw an assertion on launch.</span>
kRendererAssertTest            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;renderer-assert-test&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// On POSIX only: the contents of this flag are prepended to the renderer</span>
<span style="color: #666666; font-style: italic;">// command line. Useful values might be &quot;valgrind&quot; or &quot;xterm -e gdb --args&quot;.</span>
kRendererCmdPrefix             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;renderer-cmd-prefix&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the renderer process to crash on launch.</span>
kRendererCrashTest             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;renderer-crash-test&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as renderer instead of as browser.</span>
kRendererProcess               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;renderer&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the renderer process to display a dialog on launch.</span>
kRendererStartupDialog         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;renderer-startup-dialog&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the URLs of BackgroundContents to be remembered and re-launched when</span>
<span style="color: #666666; font-style: italic;">// the browser restarts.</span>
kRestoreBackgroundContents     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;restore-background-contents&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Indicates the last session should be restored on startup. This overrides</span>
<span style="color: #666666; font-style: italic;">// the preferences value and is primarily intended for testing. The value of</span>
<span style="color: #666666; font-style: italic;">// this switch is the number of tabs to wait until loaded before</span>
<span style="color: #666666; font-style: italic;">// 'load completed' is sent to the ui_test.</span>
kRestoreLastSession            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;restore-last-session&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs the plugin processes inside the sandbox.</span>
kSafePlugins                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;safe-plugins&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// URL prefix used by safebrowsing to fetch hash, download data and</span>
<span style="color: #666666; font-style: italic;">// report malware.</span>
kSbInfoURLPrefix <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;safebrowsing-info-url-prefix&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// URL prefix used by safebrowsing to get MAC key.</span>
kSbMacKeyURLPrefix <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;safebrowsing-mackey-url-prefix&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// If present, safebrowsing only performs update when</span>
<span style="color: #666666; font-style: italic;">// SafeBrowsingProtocolManager::ForceScheduleNextUpdate() is explicitly called.</span>
<span style="color: #666666; font-style: italic;">// This is used for testing only.</span>
kSbDisableAutoUpdate <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;safebrowsing-disable-auto-update&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable support for SDCH filtering (dictionary based expansion of content).</span>
<span style="color: #666666; font-style: italic;">// Optional argument is *the* only domain name that will have SDCH suppport.</span>
<span style="color: #666666; font-style: italic;">// Default is  &quot;-enable-sdch&quot; to advertise SDCH on all domains.</span>
<span style="color: #666666; font-style: italic;">// Sample usage with argument: &quot;-enable-sdch=.google.com&quot;</span>
<span style="color: #666666; font-style: italic;">// SDCH is currently only supported server-side for searches on google.com.</span>
kSdchFilter                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sdch&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables the showing of an info-bar instructing user they can search directly</span>
<span style="color: #666666; font-style: italic;">// from the omnibox.</span>
kSearchInOmniboxHint           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;search-in-omnibox-hint&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as a service process.</span>
kServiceProcess                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;service&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The LSID of the account to use for the service process.</span>
kServiceAccountLsid            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;service-account-lsid&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// See kHideIcons.</span>
kShowIcons                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;show-icons&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Renders a border around composited Render Layers to help debug and study</span>
<span style="color: #666666; font-style: italic;">// layer compositing.</span>
kShowCompositedLayerBorders    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;show-composited-layer-borders&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Visibly render a border around paint rects in the web page to help debug</span>
<span style="color: #666666; font-style: italic;">// and study painting behavior.</span>
kShowPaintRects                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;show-paint-rects&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Change the DCHECKS to dump memory and continue instead of displaying error</span>
<span style="color: #666666; font-style: italic;">// dialog. This is valid only in Release mode when --enable-dcheck is</span>
<span style="color: #666666; font-style: italic;">// specified.</span>
kSilentDumpOnDCHECK            <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;silent-dump-on-dcheck&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Replaces the buffered data source for  and  with a simplified</span>
<span style="color: #666666; font-style: italic;">// resource loader that downloads the entire resource into memory.</span>
<span style="color: #666666; font-style: italic;">//</span>
<span style="color: #666666; font-style: italic;">// TODO(scherkus): remove --simple-data-source when our media resource loading</span>
<span style="color: #666666; font-style: italic;">// is cleaned up and playback testing completed.</span>
kSimpleDataSource              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;simple-data-source&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs the renderer and plugins in the same process as the browser</span>
kSingleProcess                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;single-process&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Start the browser maximized, regardless of any previous settings.</span>
kStartMaximized                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;start-maximized&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Control Sync XMPP client settings.</span>
kSyncAllowPlain                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;allow-plain&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Control Sync XMPP client settings.</span>
kSyncDisableTls                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-tls&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Email used for sync.</span>
kSyncEmail                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;email&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use the SyncerThread implementation that matches up with the old pthread</span>
<span style="color: #666666; font-style: italic;">// impl semantics, but using Chrome synchronization primitives.  The only</span>
<span style="color: #666666; font-style: italic;">// difference between this and the default is that we now have no timeout on</span>
<span style="color: #666666; font-style: italic;">// Stop().  Should only use if you experience problems with the default.</span>
kSyncerThreadTimedStop         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;syncer-thread-timed-stop&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Override the default notification method for sync.</span>
kSyncNotificationMethod        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;sync-notification-method&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Password used for sync.</span>
kSyncPassword                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;password&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Port used for sync.</span>
kSyncPort                      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;port&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Server used for sync.</span>
kSyncServer                    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;server&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Override the default server used for profile sync.</span>
kSyncServiceURL                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;sync-url&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Control Sync XMPP client settings.</span>
kSyncUseSslTcp                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;use-ssl-tcp&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Control Sync XMPP client settings.</span>
kSyncUseCacheInvalidation      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;use-cache-invalidation&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Pass the name of the current running automated test to Chrome.</span>
kTestName                      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;test-name&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs the security test for the sandbox.</span>
kTestSandbox                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;test-sandbox&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Pass the type of the current test harness (&quot;browser&quot; or &quot;ui&quot;)</span>
kTestType                      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;test-type&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The value of this switch tells the app to listen for and broadcast</span>
<span style="color: #666666; font-style: italic;">// testing-related messages on IPC channel with the given ID.</span>
kTestingChannelID              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;testing-channel&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enables using TopSites instead of ThumbnailDatabase (and</span>
<span style="color: #666666; font-style: italic;">// ThumbnailStore) for getting thumbnails for the new tab page.</span>
kTopSites                      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;top-sites&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Excludes these plugins from the plugin sandbox.</span>
<span style="color: #666666; font-style: italic;">// This is a comma-separated list of plugin library names.</span>
kTrustedPlugins                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;trusted-plugins&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Experimental. Shows a dialog asking the user to try chrome. This flag</span>
<span style="color: #666666; font-style: italic;">// is to be used only by the upgrade process.</span>
kTryChromeAgain                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;try-chrome-again&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Runs un-installation steps that were done by chrome first-run.</span>
kUninstall                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;uninstall&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use Spdy for the transport protocol instead of HTTP.</span>
<span style="color: #666666; font-style: italic;">// This is a temporary testing flag.</span>
kUseSpdy                       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;use-spdy&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// These two flags are used to force http and https requests to fixed ports.</span>
kFixedHttpPort                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;testing-fixed-http-port&quot;</span><span style="color: #339933;">;</span>
kFixedHttpsPort                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;testing-fixed-https-port&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Ignore certificate related errors.</span>
kIgnoreCertificateErrors       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;ignore-certificate-errors&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Set the maximum SPDY sessions per domain.</span>
kMaxSpdySessionsPerDomain      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;max-spdy-sessions-per-domain&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use the low fragmentation heap for the CRT.</span>
kUseLowFragHeapCrt             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;use-lf-heap&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// A string used to override the default user agent with a custom one.</span>
kUserAgent                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;user-agent&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies the user data directory, which is where the browser will look</span>
<span style="color: #666666; font-style: italic;">// for all of its state.</span>
kUserDataDir                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;user-data-dir&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// directory to locate user scripts in as an over-ride of the default</span>
kUserScriptsDir                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;user-scripts-dir&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// On POSIX only: the contents of this flag are prepended to the utility</span>
<span style="color: #666666; font-style: italic;">// process command line. Useful values might be &quot;valgrind&quot; or &quot;xterm -e gdb</span>
<span style="color: #666666; font-style: italic;">// --args&quot;.</span>
kUtilityCmdPrefix              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;utility-cmd-prefix&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as a utility subprocess.</span>
kUtilityProcess                <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;utility&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The utility process is sandboxed, with access to one directory. This flag</span>
<span style="color: #666666; font-style: italic;">// specifies the directory that can be accessed.</span>
kUtilityProcessAllowedDir      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;utility-allowed-dir&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Print version information and quit.</span>
kVersion                       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;version&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Will add kWaitForDebugger to every child processes. If a value is passed, it</span>
<span style="color: #666666; font-style: italic;">// will be used as a filter to determine if the child process should have the</span>
<span style="color: #666666; font-style: italic;">// kWaitForDebugger flag passed on or not.</span>
kWaitForDebuggerChildren       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;wait-for-debugger-children&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the worker process allocation to use as many processes as cores.</span>
kWebWorkerProcessPerCore       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;web-worker-process-per-core&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes workers to run together in one process, depending on their domains.</span>
<span style="color: #666666; font-style: italic;">// Note this is duplicated in webworkerclient_impl.cc</span>
kWebWorkerShareProcesses       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;web-worker-share-processes&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use WinHTTP to fetch and evaluate PAC scripts. Otherwise the default is</span>
<span style="color: #666666; font-style: italic;">// to use Chromium's network stack to fetch, and V8 to evaluate.</span>
kWinHttpProxyResolver          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;winhttp-proxy-resolver&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as a worker subprocess.</span>
kWorkerProcess                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;worker&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// The prefix used when starting the zygote process. (i.e. 'gdb --args')</span>
kZygoteCmdPrefix               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;zygote-cmd-prefix&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Causes the process to run as a renderer zygote.</span>
kZygoteProcess                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;zygote&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Not OFFICIAL BUILD:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Causes the renderer process to throw an assertion on launch.</span>
kRendererCheckFalseTest        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;renderer-check-false-test&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>OS_CHROMEOS:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Enable the redirection of viewable document requests to the Google</span>
<span style="color: #666666; font-style: italic;">// Document Viewer.</span>
kEnableGView                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-gview&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Should we show the image based login?</span>
kEnableLoginImages             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-login-images&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Enable Chrome-as-a-login-manager behavior.</span>
kLoginManager                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;login-manager&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Allows to override the first login screen. The value should be the name</span>
<span style="color: #666666; font-style: italic;">// of the first login screen to show (see</span>
<span style="color: #666666; font-style: italic;">// chrome/browser/chromeos/login/login_wizard_view.cc for actual names).</span>
<span style="color: #666666; font-style: italic;">// Ignored if kLoginManager is not specified.</span>
<span style="color: #666666; font-style: italic;">// TODO(avayvod): Remove when the switch is no longer needed for testing.</span>
kLoginScreen                   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;login-screen&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Allows control over the initial login screen size. Pass width,height.</span>
kLoginScreenSize               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;login-screen-size&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Attempts to load libcros and validate it, then exits. A nonzero return code</span>
<span style="color: #666666; font-style: italic;">// means the library could not be loaded correctly.</span>
kTestLoadLibcros               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;test-load-libcros&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// TODO(davemoore) Delete this once chromeos has started using</span>
<span style="color: #666666; font-style: italic;">// login-profile as its arg.</span>
kProfile                       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;profile&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies the profile to use once a chromeos user is logged in.</span>
kLoginProfile                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;login-profile&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specifies the user which is already logged in.</span>
kLoginUser                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;login-user&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Use the frame layout used in chromeos.</span>
kChromeosFrame                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;chromeos-frame&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Set logging output to the given file.</span>
kChromeosLogToFile             <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;logtofile&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specify startup customization manifest.</span>
<span style="color: #666666; font-style: italic;">// TODO(denisromanov): delete this when not needed for testing.</span>
kStartupManifest               <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;startup-manifest&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Specify services customization manifest.</span>
<span style="color: #666666; font-style: italic;">// TODO(denisromanov): delete this when not needed for testing.</span>
kServicesManifest              <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;services-manifest&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>OS_LINUX:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Specify the amount the trackpad should scroll by.</span>
kScrollPixels                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;scroll-pixels&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>OS_MACOSX or OS_WIN:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Use the system SSL library (Secure Transport on Mac, SChannel on Windows)</span>
<span style="color: #666666; font-style: italic;">// instead of NSS for SSL.</span>
kUseSystemSSL                  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;use-system-ssl&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>OS_POSIX:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Bypass the error dialog when the profile lock couldn't be attained.</span>
<span style="color: #666666; font-style: italic;">// A flag, generated internally by Chrome for renderer and other helper process</span>
<span style="color: #666666; font-style: italic;">// command lines on Linux and Mac.  It tells the helper process to enable crash</span>
<span style="color: #666666; font-style: italic;">// dumping and reporting, because helpers cannot access the profile or other</span>
<span style="color: #666666; font-style: italic;">// files needed to make this decision.</span>
<span style="color: #666666; font-style: italic;">// If passed to the browser, it'll be passed on to all the helper processes</span>
<span style="color: #666666; font-style: italic;">// as well, thereby force-enabling the crash reporter.</span>
kEnableCrashReporter           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-crash-reporter&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// This switch is used during automated testing.</span>
kNoProcessSingletonDialog      <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;no-process-singleton-dialog&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Not OS_MACOSX:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Specifies which password store to use (detect, default, gnome, kwallet).</span>
kPasswordStore                 <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;password-store&quot;</span><span style="color: #339933;">;</span>
<span style="color: #666666; font-style: italic;">// Enable Kiosk mode.</span>
kKioskMode                     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;kiosk&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>OS_MACOSX:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Cause the OS X sandbox write to syslog every time an access to a resource</span>
<span style="color: #666666; font-style: italic;">// is denied by the sandbox.</span>
kEnableSandboxLogging          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-sandbox-logging&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Temporary flag to prevent Flash from negotiating the Core Animation drawing</span>
<span style="color: #666666; font-style: italic;">// model. This will be removed once the last issues have been resolved.</span>
kDisableFlashCoreAnimation     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-flash-core-animation&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>仲有少量同 debug 有關:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#ifndef NDEBUG</span>
<span style="color: #666666; font-style: italic;">// Debug only switch to specify which gears plugin dll to load.</span>
kGearsPluginPathOverride       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;gears-plugin-path&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Makes sure any sync login attempt will fail with an error.  (Only</span>
<span style="color: #666666; font-style: italic;">// used for testing.)</span>
kInvalidateSyncLogin           <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;invalidate-sync-login&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Makes sure any sync xmpp login attempt will fail with an error.  (Only</span>
<span style="color: #666666; font-style: italic;">// used for testing.)</span>
kInvalidateSyncXmppLogin       <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;invalidate-sync-xmpp-login&quot;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Debug only switch to specify which websocket live experiment host to be used.</span>
<span style="color: #666666; font-style: italic;">// If host is specified, it also makes initial delay shorter (5 min to 5 sec)</span>
<span style="color: #666666; font-style: italic;">// to make it faster to test websocket live experiment code.</span>
kWebSocketLiveExperimentHost   <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;websocket-live-experiment-host&quot;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">#endif</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// USE_SECCOMP_SANDBOX controls whether the seccomp sandbox is opt-in or -out.</span>
<span style="color: #666666; font-style: italic;">// TODO(evan): unify all of these once we turn the seccomp sandbox always</span>
<span style="color: #666666; font-style: italic;">// on.  Also remove the #include of command_line.h above.</span>
<span style="color: #339933;">#if defined(USE_SECCOMP_SANDBOX)</span>
<span style="color: #666666; font-style: italic;">// Disable the seccomp sandbox (Linux only)</span>
kDisableSeccompSandbox         <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;disable-seccomp-sandbox&quot;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">#else</span>
<span style="color: #666666; font-style: italic;">// Enable the seccomp sandbox (Linux only)</span>
kEnableSeccompSandbox          <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;enable-seccomp-sandbox&quot;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">#endif</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/07/07/3832/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

