<?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, 29 Jul 2010 12:57:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<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>
		<item>
		<title>必用 Google Chromium / Chrome extensions</title>
		<link>http://orz.hk/2010/07/06/3818/</link>
		<comments>http://orz.hk/2010/07/06/3818/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 02:47:38 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Chromium]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3818</guid>
		<description><![CDATA[以下係我個人喜好, 如果你有其他好用既 Extension 介紹, 歡迎留言. &#55386;trtaa aa Web Developer 由 firefox 時已經用佢, 用黎 check css 一流, 做網站必備, 至於一般用家除左 hide all images 同埋 disable javascript 就冇必乜地方用到 Flash block有時 flash 好鬼煩, 特別係 remote desktop 時拖到鬼咁慢 Ultimate Chrome Flag可以睇到你睇緊既網站係邊個國家, Google Rank 等 Chrome SEO提供基本 SEO資料]]></description>
			<content:encoded><![CDATA[<p>以下係我個人喜好, 如果你有其他好用既 Extension 介紹, 歡迎留言.</p>
<p>&#55386;trtaa aa</p>
<table border="0">
<tbody>
<tr>
<td valign="top"><img class="alignnone size-full wp-image-3823" title="dev" src="http://orz.hk/wp-content/uploads/2010/07/dev.png" alt="" width="32" height="32" /></td>
<td valign="top"><a href="https://chrome.google.com/extensions/detail/bfbameneiokkgbdmiekhjnmfkcnldhhm?hl=en" target="_blank">Web Developer<br />
</a>由 firefox 時已經用佢, 用黎 check css 一流, 做網站必備, 至於一般用家除左 hide all images 同埋 disable javascript 就冇必乜地方用到</td>
</tr>
<tr>
<td style="height: 20px;" colspan="2"></td>
</tr>
<tr>
<td valign="top"><img class="size-full wp-image-3820" title="flash" src="http://orz.hk/wp-content/uploads/2010/07/flash.png" alt="" width="32" height="32" /></td>
<td valign="top"><a href="https://chrome.google.com/extensions/detail/gofhjkjmkpinhpoiabjplobcaignabnl?hl=en" target="_blank">Flash block</a>有時 flash 好鬼煩, 特別係 remote desktop 時拖到鬼咁慢</td>
</tr>
<tr>
<td colspan="2" style="height: 20px"></td>
</tr>
<tr>
<td valign="top"><img class="alignnone size-full wp-image-3825" title="flag" src="http://orz.hk/wp-content/uploads/2010/07/flag.png" alt="" width="32" height="32" /></td>
<td valign="top"><a href="https://chrome.google.com/extensions/detail/dbpojpfdiliekbbiplijcphappgcgjfn?hl=en" target="_blank">Ultimate Chrome Flag</a>可以睇到你睇緊既網站係邊個國家, Google Rank 等</td>
</tr>
<tr>
<td colspan="2" style="height: 20px"></td>
</tr>
<tr>
<td valign="top"><img class="alignnone size-full wp-image-3826" title="seo" src="http://orz.hk/wp-content/uploads/2010/07/seo.png" alt="" width="32" height="32" /></td>
<td valign="top"><a href="https://chrome.google.com/extensions/detail/oangcciaeihlfmhppegpdceadpfaoclj?hl=en">Chrome SEO</a>提供基本 SEO資料</td>
</tr>
<tr>
<td colspan="2" style="height: 20px"></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/07/06/3818/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chome 用得多, Chromium 用過未?</title>
		<link>http://orz.hk/2010/07/05/3782/</link>
		<comments>http://orz.hk/2010/07/05/3782/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 03:47:50 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Chromium]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3782</guid>
		<description><![CDATA[Chromium 即係 Chrome 既 open source 版, Google 拎住 Chromium 作出修改同埋測試之後就會改名做 Chrome 發佈。所以基本功能上兩者係冇分別,  如果係網絡潮人下下要用最新既軟件, 梗係要用 Chromium, 雖然 Google Chrome 出左 6 既 beta 版, 但係 Chromium 每個星期都有新版既 6.0出, 而且冇俾 Google 改過之下, 唔會有 tracking token. 仲有就係 Chromium 可以自己 build, 修改甚至將你自己既 code 掟上去, 依個 Chromium 係我自己 build。Build 既過程唔難, 要注意既係 Debug build 既話就要多d swap 或者 ram, 至於 disk [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-3783" title="chrome" src="http://orz.hk/wp-content/uploads/2010/07/chrome.png" alt="" width="551" height="320" /></p>
<p><img class="alignnone size-full wp-image-3784" title="chromium" src="http://orz.hk/wp-content/uploads/2010/07/chromium.png" alt="" width="539" height="362" /></p>
<p>Chromium 即係 Chrome 既 open source 版, Google 拎住 Chromium 作出修改同埋測試之後就會改名做 Chrome 發佈。所以基本功能上兩者係冇分別,  如果係網絡潮人下下要用最新既軟件, 梗係要用 Chromium, 雖然 Google Chrome 出左 6 既 beta 版, 但係 Chromium 每個星期都有新版既 6.0出, 而且冇俾 Google 改過之下, 唔會有 tracking token.</p>
<p>仲有就係 Chromium 可以自己 build, 修改甚至將你自己既 code 掟上去, 依個 Chromium 係我自己 build。Build 既過程唔難, 要注意既係 Debug build 既話就要多d swap 或者 ram, 至於 disk space 預佢 at least 32GB。</p>
<p>對於我黎講 open source 同埋自己 build 係幾重要。 有d feature 例如我想 hide HTTP_REFERER, 唔經第三方 redirect 網站都可以唔出HTTP_REFERER, 好多時我喺d 網站後台/控制台要去競爭對手既網站, hide 左 HTTP_REFERER 就唔會咁容易俾人察覺。好似 Chroium 咁既open source software, 想要有咁既 feature 我可以去修改個 source。今次 hide HTTP_REFERER, 喺我嘗試修改既途中,發現原來 Chromium 本身有 no-referrers 依個 switch, 咁即係唔駛改 code 都可以 hide HTTP_REFERER, 結果經 SVN 就知由邊個版本開始有依個switch, 咁 Chrome 對應 Chromium 即係話依個 switch 都可以用,  你話方唔方便。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/07/05/3782/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating and Upgrading from ASP .NET 2.0 to ASP .NET 4.0 &#8211; 1</title>
		<link>http://orz.hk/2010/07/01/3767/</link>
		<comments>http://orz.hk/2010/07/01/3767/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 11:12:46 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3767</guid>
		<description><![CDATA[近排有d project 連同 IIS 由 ASP.NET 2.0 一升升到 ASP.NET 4.0, 當中都好多改進係值得加以應用: Feature &#38; rating Description DataPager .NET 4.0 依個一定要, 除非個 website d data 少到可憐! DataPager provides paging support to the ListView control. The best advantage is that you need not have to keep it ‘tied’ with the control on which the paging is being done. [...]]]></description>
			<content:encoded><![CDATA[<p>近排有d project 連同 IIS 由 ASP.NET 2.0 一升升到 ASP.NET 4.0, 當中都好多改進係值得加以應用:</p>
<p><!-- .t1 { tr:nth-child(even) {background-color: #FFF} tr:nth-child(odd) {background-color: #FFF7EE} } --></p>
<table class="t1" style="border: solid 1px;">
<tbody>
<tr>
<th>Feature &amp; rating</th>
<th>Description</th>
</tr>
<tr>
<td valign="top">DataPager<br />
.NET 4.0</p>
<p><img src="/wp-content/images/star.png" alt="" width="16" height="16" /><img src="/wp-content/images/star.png" alt="" width="16" height="16" /><img src="/wp-content/images/star.png" alt="" width="16" height="16" /></td>
<td valign="top">依個一定要, 除非個 website d data 少到可憐!</p>
<p><em>DataPager provides paging support to the ListView control. The best advantage is that you need not have to keep it ‘tied’ with the control on which the paging is being done. You can keep it anywhere on the page.</em></p>
<p><em>DataPager gives you a consistent way of paging with the controls that support it. Currently only ListView supports it as it implements the IPageableItemContainer. However support is likely to be added to other List controls as well.</em></p>
<p><em> </em></td>
</tr>
<tr>
<td valign="top">Extensible Output Caching<br />
.NET 4.0<br />
<img src="/wp-content/images/star.png" alt="" width="16" height="16" /><img src="/wp-content/images/star.png" alt="" width="16" height="16" /><img src="/wp-content/images/star.png" alt="" width="16" height="16" /></td>
<td valign="top">用 memcached 會方便d</p>
<p><em>ASP.NET 4 adds extensibility to output caching that enables you to configure one or more custom output-cache providers. Output-cache providers can use any storage mechanism to persist HTML content. These storage options can include local or remote disks, cloud storage, and distributed cache engines.<br />
</em></td>
</tr>
<tr>
<td valign="top">Expanding the Range of Allowable URLs</p>
<p>.NET 4.0</p>
<p><img src="/wp-content/images/star.png" alt="" width="16" height="16" /><img src="/wp-content/images/star.png" alt="" width="16" height="16" /></td>
<td valign="top">視乎需要吧, 我試過有d 網站的確需要依個 feature (不過唔係我設計)</p>
<p><em>ASP.NET 4 introduces new options for expanding the size of application URLs. Previous versions of ASP.NET constrained URL path lengths to 260 characters, based on the NTFS file-path limit. In ASP.NET 4, you have the option to increase (or decrease) this limit as appropriate for your applications, using two new attributes of the httpRuntime configuration element. The following example shows these new attributes.<br />
<em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em></p>
<p style="display: inline !important;">&lt;httpRuntime maxRequestPathLength=&#8221;260&#8243; maxQueryStringLength=&#8221;2048&#8243; /&gt;</p>
<p></em>ASP.NET 4 also enables you to configure the characters that are used by the URL character check. When ASP.NET finds an invalid character in the path portion of a URL, it rejects the request and issues an HTTP 400 (Bad request) status code. In previous versions of ASP.NET, the URL character checks were limited to a fixed set of characters. In ASP.NET 4, you can customize the set of valid characters using the new requestPathInvalidChars attribute of the httpRuntime configuration element, as shown in the following example:</p>
<p><span style="font-style: normal;"><em> </em></span>&lt;httpRuntime requestPathInvalidChars=&#8221;&amp;lt;,&amp;gt;,*,%,&amp;amp;,:,\,?&#8221; /&gt;</p>
<p>(In the string that is assigned to requestPathInvalidChars by default, the less than (&lt;), greater than (&gt;), and ampersand (&amp;) characters are encoded, because the Web.config file is an XML file.) By default, the requestPathInvalidChars attribute defines eight characters as invalid.</p>
<p></em></td>
</tr>
<tr>
<td valign="top">Session State Compression<br />
.NET 4.0</p>
<p><img src="/wp-content/images/star.png" alt="" width="16" height="16" /><img src="/wp-content/images/star.png" alt="" width="16" height="16" /></td>
<td valign="top">終於 official 支援, 不過 View State Compression 呢? HTTP compression 經已足夠了。</p>
<p><em>By default, ASP.NET provides two options for storing session state across a Web farm. The first option is a session state provider that invokes an out-of-process session state server. The second option is a session state provider that stores data in a Microsoft SQL Server database.</em></p>
<p><em><span style="font-style: normal;"><em> </em></span></em></p>
<p><em>Because both options store state information outside a Web application&#8217;s worker process, session state has to be serialized before it is sent to remote storage. If a large amount of data is saved in session state, the size of the serialized data can become very large.</em></p>
<p><em>ASP.NET 4 introduces a new compression option for both kinds of out-of-process session state providers. By using this option, applications that have spare CPU cycles on Web servers can achieve substantial reductions in the size of serialized session state data.</em></p>
<p><em>You can set this option using the new compressionEnabled attribute of the sessionState element in the configuration file. When the compressionEnabled configuration option is set to true, ASP.NET compresses (and decompresses) serialized session state by using the .NET Framework GZipStreamclass.</em></p>
<p><em> </em></td>
</tr>
<tr>
<td valign="top">Permanently Redirecting a Page<br />
.NET 4.0</p>
<p><img src="/wp-content/images/star.png" alt="" width="16" height="16" /><img src="/wp-content/images/star.png" alt="" width="16" height="16" /></td>
<td valign="top">方便左d</p>
<p><em>Content in Web applications is often moved over the lifetime of the application. This can lead to links to be out of date, such as the links that are returned by search engines.</em></p>
<p><em><span style="font-style: normal;"><em> </em></span></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em>In ASP.NET, developers have traditionally handled requests to old URLs by using the Redirect method to forward a request to the new URL. However, the Redirect method issues an HTTP 302 (Found) response (which is used for a temporary redirect). This results in an extra HTTP round trip.</em></p>
<p><em>ASP.NET 4 adds a RedirectPermanent helper method that makes it easy to issue HTTP 301 (Moved Permanently) responses, as in the following example:</em></p>
<p><em>RedirectPermanent(&#8220;/newpath/foroldcontent.aspx&#8221;);</em></p>
<p><em> </em></td>
</tr>
<tr>
<td valign="top">Auto-Start Web Applications</p>
<p>.NET 4.0<br />
<img src="/wp-content/images/star.png" alt="" width="16" height="16" /></td>
<td valign="top">跟本上好多 web application 唔適合行得咁耐, 亦有好多更好既方法可以避免個 web application 行得太耐, 所以冇乜用。  另外依個 feature要行 Windows 2008</p>
<p><em>Some Web applications must load large amounts of data or must perform expensive initialization processing before serving the first request. In earlier versions of ASP.NET, for these situations you had to devise custom approaches to &#8220;wake up&#8221; an ASP.NET application and then run initialization code during the Application_Load method in the Global.asax file.</em></p>
<p><em><span style="font-style: normal;"><em> </em></span></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></em></p>
<p><em><em> </em></p>
<p><em></p>
<p style="display: inline !important;">To address this scenario, a new auto-start feature is available when ASP.NET 4 runs on IIS 7.5 on Windows Server 2008 R2. The feature provides a controlled approach for starting up an application pool, initializing an ASP.NET application, and then accepting HTTP requests. It lets you perform expensive application initialization prior to processing the first HTTP request.</p>
<p></em><span style="font-style: normal;"><em><br />
</em></span></p>
<p></em></td>
</tr>
<tr>
<td valign="top">ASP.NET Chart Control</p>
<p>.NET 4.0 (3.5 要另外加 assembly)</p>
<p><img src="/wp-content/images/star.png" alt="" width="16" height="16" /></td>
<td valign="top">
<div id="_mcePaste">希望越大失望越大, 原本對 Chart Control 好有期望, 點知好失望。可能係 Internet Explorer 個 SVG engine 太癈既關係, 所以 ASP.NET 個 chart control 只係 output bitmap 而唔係 SVG, 所以除左當做 fallback, 功能上對比其他 opensource 既 chart control冇乜突出既地方。</div>
<div><em>The ASP.NET chart server control enables you to create ASP.NET pages applications that have simple, intuitive charts for complex statistical or financial analysis. The chart control supports the following features:</em></div>
<div id="_mcePaste">
<ul>
<li><em>Data series, chart areas, axes, legends, labels, titles, and more.</em></li>
<li><em>Data binding.</em></li>
<li><em>Data manipulation, such as copying, splitting, merging, alignment, grouping, sorting, searching, and filtering.</em></li>
<li><em>Statistical formulas and financial formulas.</em></li>
<li><em>Advanced chart appearance, such as 3-D, anti-aliasing, lighting, and perspective.</em></li>
<li><em>Events and customizations.</em></li>
<li><em>Interactivity and Microsoft Ajax.</em></li>
<li><em>Support for the Ajax Content Delivery Network (CDN), which provides an optimized way for you to add Microsoft Ajax Library and jQuery scripts to your Web applications.</em></li>
</ul>
</div>
</td>
</tr>
</tbody>
</table>
<p style="text-align: center;">~ 待續 ~</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/07/01/3767/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>今日唔用 wii 睇世界杯住, 改用 notebook 經 vga 駁電視睇</title>
		<link>http://orz.hk/2010/06/19/3712/</link>
		<comments>http://orz.hk/2010/06/19/3712/#comments</comments>
		<pubDate>Sat, 19 Jun 2010 15:01:42 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[wii]]></category>
		<category><![CDATA[world cup]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3712</guid>
		<description><![CDATA[因為廣東台荷蘭對日本, 同埋加納對澳洲, 竟然播埋d 唔知乜野既水上活動, 所以焗住睇台灣 ELTA TV。 不過 Wii 本身冇 Internet Explorer 可以拎到個 DRM license, 所以播唔到台灣台, 結果就用部 notebook 經 vga 駁去部電視睇, 其本上設定仲簡單個 wii, 只要喺 Media Player, Open URL, 然後用之前嗰條 link 就可以。 如果唔識睇台灣台都可以見到有兩個 cctv 既頻道頂住先。 不過部由於部 notebook 比較弱既關係, 播出黎有d 疾疾地, 另外雖然喺電腦上播係清過 cctv 同埋廣東台, 但用 media player 播去部 LCD TV 度睇台灣台既效果感覺上比其他台仲差, 爆晒格, 可能個 player 問題, 又或者 vga [...]]]></description>
			<content:encoded><![CDATA[<p>因為廣東台荷蘭對日本, 同埋加納對澳洲, 竟然播埋d 唔知乜野既水上活動, 所以焗住睇台灣 ELTA TV。 不過 Wii 本身冇 Internet Explorer 可以拎到個 DRM license, 所以播唔到台灣台, 結果就用部 notebook 經 vga 駁去部電視睇, 其本上設定仲簡單個 wii, 只要喺 Media Player, Open URL, 然後用之前嗰條 link 就可以。 如果唔識睇台灣台都可以見到有兩個 cctv 既頻道頂住先。</p>
<p>不過部由於部 notebook 比較弱既關係, 播出黎有d 疾疾地, 另外雖然喺電腦上播係清過 cctv 同埋廣東台, 但用 media player 播去部 LCD TV 度睇台灣台既效果感覺上比其他台仲差, 爆晒格, 可能個 player 問題, 又或者 vga 唔似 composite 咁令到d 畫面柔和d 吧。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/06/19/3712/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>用 Wii 當做 media box 經 TVAnts 黎睇世界杯</title>
		<link>http://orz.hk/2010/06/18/3694/</link>
		<comments>http://orz.hk/2010/06/18/3694/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 14:18:00 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[生活日誌]]></category>
		<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[wii]]></category>
		<category><![CDATA[world cup]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3694</guid>
		<description><![CDATA[今日教大家做既係 用 Wii 喺電視度睇世界杯, 首先預備既材料有行到 home brew channel 既 Wii 一部, SD卡一張 (用 SD card adapter 既卡亦可), Wii 既 media player WiiMC http://www.wiimc.org/ (已測試版本為 1.04) 一個, 裝有 TVAnts 既 PC 一部, Wireless router 一個。 先喺 TVAnts 入面既 Tool -> Settings&#8230;->Broadcast->Enable access from other computers 度 tick 左佢: 跟住就到 WiiMC, 首先慢慢下載 WiiMC 1.0.4 (New Install) 既 [...]]]></description>
			<content:encoded><![CDATA[<p>今日教大家做既係 用 Wii 喺電視度睇世界杯, 首先預備既材料有行到 home brew channel 既 Wii 一部, SD卡一張 (用 SD card adapter  既卡亦可), Wii 既 media player WiiMC <a href=http://www.wiimc.org/ target=_blank>http://www.wiimc.org/</a> (已測試版本為 1.04) 一個, 裝有 TVAnts 既 PC 一部, Wireless router 一個。</p>
<p>先喺 TVAnts 入面既 Tool -> Settings&#8230;->Broadcast->Enable access from other computers 度 tick 左佢:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/wc-13.png" alt="" title="wc-13" width="518" height="408" class="alignnone size-full wp-image-3704" /></p>
<p>跟住就到 WiiMC, 首先慢慢下載 WiiMC 1.0.4 (New Install) 既 zip file, 然後將zip file 爆開佢去 SD卡既根相錄度。將 SD卡入面既 app\wiimc\onlinemedial.xml 用 text editor 打開修改, 喺 <file app="WiiMC" version="1.0.0"> 下面加入依一行:</p>
<link name="TVAnts" addr="http://<strong>192.168.1.123</strong>:16900/<strong>1</strong>.asf&#8221; /><br />
上面段野有兩部分要修改,</p>
<p>1. 192.168.1.123 係行緊 TVAnts 部機既 IP, <span color=red>注意: 每部機既設定唔一樣, 所以未必係依個 IP address</a>, 可以用 ipconfig 搵返</p>
<p>2. 1.asf 有可能係其他數字, 要搵返行緊乜數字, 可以 right click tvants 個 player, 然後選內容:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/wc-11.png" alt="" title="wc-11" width="326" height="287" class="alignnone size-full wp-image-3698" /></p>
<p>咁就知到個 asf 係乜號碼:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/wc-12.png" alt="" title="wc-12" width="387" height="339" class="alignnone size-full wp-image-3699" /></p>
<p>因為時間既關係, 下面係修改完既結果:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;utf-8&quot;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></span> 
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;file</span> <span style="color: #000066;">app</span>=<span style="color: #ff0000;">&quot;WiiMC&quot;</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0.0&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;TVAnts&quot;</span> <span style="color: #000066;">addr</span>=<span style="color: #ff0000;">&quot;http://192.168.1.123:16900/1.asf&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span> 
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Navi-Xtreme Media Portal&quot;</span> <span style="color: #000066;">addr</span>=<span style="color: #ff0000;">&quot;http://navix.turner3d.net/wiilist/&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span> 
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;folder</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Radio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Radio Plus&quot;</span> <span style="color: #000066;">addr</span>=<span style="color: #ff0000;">&quot;http://radioplus.dnsalias.org:8000/listen.pls&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span> 
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Otvoreni radio&quot;</span> <span style="color: #000066;">addr</span>=<span style="color: #ff0000;">&quot;http://82.193.201.234:8001/listen.pls&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span> 
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Woxy radio&quot;</span> <span style="color: #000066;">addr</span>=<span style="color: #ff0000;">&quot;http://woxy.lala.com/stream/aac32.pls&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span> 
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/folder<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;folder</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SHOUTcast&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Internet Radio&quot;</span> <span style="color: #000066;">addr</span>=<span style="color: #ff0000;">&quot;http://pentium.extremscorner.co.cc:8080/wii/rd/playlist.php&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span> 
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;link</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Internet TV&quot;</span> <span style="color: #000066;">addr</span>=<span style="color: #ff0000;">&quot;http://pentium.extremscorner.co.cc:8080/wii/tv/playlist.php&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span> 
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/folder<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/file<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p> 炒埋一碟之後就可以將 SD 卡插返去部 Wii 度然後行個 WiiMC</p>
<p>如果成功既話就可以喺 Online Media 度見到 TVAnts 依個 item:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/IMG_0286.jpg" alt="" title="IMG_0286" width="480" height="360" class="alignnone size-full wp-image-3701" /></p>
<p>click 左 buffer 好快完成之後就可以睇波, 放喺部 42&#8243; LCDTV 度睇廣東體育台效果唔錯, 攪到我而家好少喺 PC 度睇:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/IMG_0292.jpg" alt="" title="IMG_0292" width="480" height="360" class="alignnone size-full wp-image-3702" /></p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/06/18/3694/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Proxy server</title>
		<link>http://orz.hk/2010/06/17/3680/</link>
		<comments>http://orz.hk/2010/06/17/3680/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 15:03:45 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3680</guid>
		<description><![CDATA[以下內容純粹將平日既心得俾朋友睇下, 用黎學術研究或者搵返自己d password, 千萬唔好用喺其他地方 Proxy server 簡單分兩種 transparent 同埋 non-transparent。 Transparent 唔會修改你俾 web server 既資料, 所以如果想用黎扮身處外國就唔岩用, 因為 proxy server 就算喺外國, 但佢都會話返你訪問既網站聽你來自邊度。 non-transparent proxy 就會修改或者隱藏部分甚至全部既資料, 所以好好用, 但亦因為咁會比較慢。無論如何, 如非必要喺正常瀏覽網站既情況下盡可能唔好用 proxy server, 因為有機會俾人欄截資料, 雖然機會唔大。 以下純屬個人喜好 依排用開 chrome, 當中有個 extension proxy switchy 幾好用。如果係大陸既話就要去 google code 度 download http://code.google.com/p/switchy/ 最方便既地方係, 喺 proxy switchy 度入左 proxy server 既資料, 然後選取個 proxy server [...]]]></description>
			<content:encoded><![CDATA[<p color=red>以下內容純粹將平日既心得俾朋友睇下, 用黎學術研究或者搵返自己d password, 千萬唔好用喺其他地方</p>
<p>Proxy server 簡單分兩種 transparent 同埋 non-transparent。 Transparent 唔會修改你俾 web server 既資料, 所以如果想用黎扮身處外國就唔岩用, 因為 proxy server 就算喺外國, 但佢都會話返你訪問既網站聽你來自邊度。 non-transparent proxy 就會修改或者隱藏部分甚至全部既資料, 所以好好用, 但亦因為咁會比較慢。無論如何, 如非必要喺正常瀏覽網站既情況下盡可能唔好用 proxy server, 因為有機會俾人欄截資料, 雖然機會唔大。</p>
<p><em>以下純屬個人喜好</em></p>
<p>依排用開 chrome, 當中有個 <a href=https://chrome.google.com/extensions/search?itemlang=&#038;hl=en&#038;q=proxy+switchy target=_blank>extension proxy switchy</a> 幾好用。如果係大陸既話就要去 google code 度 download <a href=http://code.google.com/p/switchy/ target=_blank>http://code.google.com/p/switchy/</a></p>
<p>最方便既地方係, 喺 proxy switchy 度入左 proxy server 既資料, 然後選取個 proxy server 嚟用, 咁就喺 IE 度就可以用到個 proxy server, 要回復本身狀態或者用其他 proxy, 同樣去到 proxy switchy 就得。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/06/17/3680/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>大鑊, 個 1200kbps 台灣台睇唔到世界杯</title>
		<link>http://orz.hk/2010/06/14/3637/</link>
		<comments>http://orz.hk/2010/06/14/3637/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 11:21:45 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[world cup]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3637</guid>
		<description><![CDATA[預備睇荷蘭對丹麥, tvants 上面個台灣台要 hinet 個 licence key 黎 decrypt, 去到 hinet 又話台灣以外地區唔俾睇, 結果最後花畫面: 不過唔怕, 睇住上海體育台, 今晚只係得上界 700kbps 既質素睇住先。 好明顯 700kbps 唔及 1200kbps:]]></description>
			<content:encoded><![CDATA[<p>預備睇荷蘭對丹麥, tvants 上面個台灣台要 hinet 個 licence key 黎 decrypt, 去到 hinet 又話台灣以外地區唔俾睇, 結果最後花畫面:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/wc-tw1.png" alt="" title="wc-tw1" width="623" height="473" class="alignnone size-full wp-image-3649" /></p>
<p>不過唔怕, 睇住上海體育台, 今晚只係得上界 700kbps 既質素睇住先。</p>
<p>好明顯 700kbps 唔及 1200kbps:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/wc-6.png" alt="" title="wc-6" width="575" height="433" class="alignnone size-full wp-image-3639" /></p>
<p><img src="http://orz.hk/wp-content/uploads/2010/06/wc-7.png" alt="" title="wc-7" width="578" height="429" class="alignnone size-full wp-image-3641" /></p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/06/14/3637/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用  p2p 軟件成功睇到免費網上直播南非世界杯</title>
		<link>http://orz.hk/2010/06/12/3609/</link>
		<comments>http://orz.hk/2010/06/12/3609/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 04:58:46 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[world cup]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3609</guid>
		<description><![CDATA[今年 world cup 因為 PPStream, PPTV, PPLive (都唔知邊個打邊個) 可能因為要搞網上合法直播, 結果封鎖晒中國以外既用家, 就算用以上軟件轉播 CCTV 5 既頻道, 亦都會被嚴厲封鎖, 攪到好多港燦預算係屋企睇波既企晒係度, 乜都睇唔到。除左裝左有線既用戶之外, 就只有部分西北區既住戶可以經大陸既 CCTV 高清台訊號黎睇世界杯(依個方法可能要自己搭條天線出屋外, 因為大廈天線可能冇 CCTV 高清訊號, 另外亦要睇彩數)。 不過天無絕人之路, 尋晚一路睇亞視高清台播首場南非對墨西哥, 一路試唔同既網上睇波方法。結果試到 TVAnts 最大頻寬大約 1200kbps, 直播台灣既ELTA TV頻道, 畫質質素介乎高清與標清之間。 Close-up 夠清: 遠景都清, 但係唔知係 capture 得唔好定係唔係 key frame, 感覺同播緊差好遠: 旁述方面冇大陸既&#8217;打門&#8217;, &#8216;點球&#8217; 咁興舊, 不過勝在佢地現場聲唔大聲, 雖然冇咁好氣氛, 但至少冇左好似成場烏蠅飛既號角聲。 用 TVAnts 要注意既係可能開波前或者開緊波d server 都幾繁忙, 大家最好開波前幾個鐘開定, 如果唔係 [...]]]></description>
			<content:encoded><![CDATA[<p>今年 world cup 因為 PPStream, PPTV, PPLive (都唔知邊個打邊個) 可能因為要搞網上合法直播, 結果封鎖晒中國以外既用家, 就算用以上軟件轉播 CCTV 5 既頻道, 亦都會被嚴厲封鎖, 攪到好多港燦預算係屋企睇波既企晒係度, 乜都睇唔到。除左裝左有線既用戶之外, 就只有部分西北區既住戶可以經大陸既 CCTV 高清台訊號黎睇世界杯(依個方法可能要自己搭條天線出屋外, 因為大廈天線可能冇 CCTV 高清訊號, 另外亦要睇彩數)。</p>
<p>不過天無絕人之路, 尋晚一路睇亞視高清台播首場南非對墨西哥, 一路試唔同既網上睇波方法。結果試到 TVAnts 最大頻寬大約 1200kbps, 直播台灣既ELTA TV頻道, 畫質質素介乎高清與標清之間。 </p>
<p>Close-up 夠清:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/wc2-1.png" alt="" title="wc2-1" width="609" height="402" class="alignnone size-full wp-image-3610" /></p>
<p>遠景都清, 但係唔知係 capture 得唔好定係唔係 key frame, 感覺同播緊差好遠:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/wc2-2.png" alt="" title="wc2-2" width="607" height="367" class="alignnone size-full wp-image-3611" /></p>
<p>旁述方面冇大陸既&#8217;打門&#8217;, &#8216;點球&#8217; 咁興舊, 不過勝在佢地現場聲唔大聲, 雖然冇咁好氣氛, 但至少冇左好似成場烏蠅飛既號角聲。</p>
<p>用 TVAnts 要注意既係可能開波前或者開緊波d server 都幾繁忙, 大家最好開波前幾個鐘開定, 如果唔係 channel click more 幾多次都冇用, 甚至乎 出 service unavaliable。</p>
<p>1. tvants download link: http://tvants.en.softonic.com/</p>
<p>2. 安裝完之後, channel list 可能要改一改, 選擇 channel 之後按 modify, 將 list.tvants.com 改成 list.ccants.com, 或者就咁將list.ccants.com add channel:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/wc-3.png" alt="" title="wc-3" width="208" height="96" class="alignnone size-full wp-image-3623" /></p>
<p>3. 然後 channels 度用 audience 數目黎 sort, 咁就知邊d 節目多人睇, 其中一個就係台灣台:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/Capture3.png" alt="" title="Capture3" width="394" height="271" class="alignnone size-full wp-image-3626" /></p>
<p>如果冇既話可以試下 More, 但如果開波前後 server 太忙冇既話就要試多幾次</p>
<p>用 TVAnts 成功搵到 700kbps 以上既 broadcast 唔難, 只要跟佢指示去 channel list 度將類似 tvants 改做 ccants 就可以成功 list 到更多 channels. 我估 tvants.com 既擁有權出現問題所以想夾硬轉做 ccants.com, 如果lookup list.tvants.com 既話就會發覺指左去 127.0.0.1, 攪到所有用 tvants.com 既人用唔到。如果你係舊官網度 download 版本1.0.0.59, 就會發現佢成日 lookup list.tvants.com。我估新官網 ccants.com download 唔知點解舊d 既版本 1.0.0.58 可能冇咁既問題。結果我用 host file 將 list.tvants.com lookup 做 list.ccants.com既 IP, 唔知對播放有冇幫助, 但已經手痕做左無謂再試。</p>
<p>如果對網絡有些少認識, 建議 firewall / router nat set 好 port 16800 (或自定義) 既 inbound, 同埋 tvants 既 outbond, 等其他人都可以分享下, 話晒都係 P2P。</p>
<p>見有好多網友都提及 ATDHE.net, (http://www.atdhe.net/index.html), 不過實在太慢, 技術上好似佢咁既 flash player 唔係用 p2p 技術冇可能播得順, 不試也擺。亦有好多網友推介直播吧 (http://www.zhibo8.com/), 不過佢主要係介紹有乜p2p 頻道有得睇 Live World Cup , 基本上佢d link 都係去晒 ppstream 等軟件, 結果係乜都冇, 去到 pptv 有時仲會唔停咁播話段片唔係你嗰區, 唔駛指意有得睇。</p>
<p>MyP2P (http://www.myp2p.eu/favourite.php) 同直播吧一樣, 不過勝在世界各地既 p2p broadcast 都有, 奈何 sopcast 好多都 offline, 不過總好似帶給人無限既希望, 去試&#8230; 亦因為咁我試到 TVAnts 出黎。用 MyP2P 都有d 技巧, 用佢個 filter 我可能蠢既關係, 足球個 category 入面搵唔到世界杯, 結果我去左用佢網站個 search 嚟 search &#8216;World Cup 2010 South Africa&#8217; 先至搵得到。 </p>
<p>我仲試過 stream torrent, sopcast, tvuplayer, vpn, proxy,不過有各種問題, 遲下有機會再詳述。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/06/12/3609/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Level one WBR 6003 review 評測</title>
		<link>http://orz.hk/2010/06/06/3588/</link>
		<comments>http://orz.hk/2010/06/06/3588/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 07:43:55 +0000</pubDate>
		<dc:creator>腦功仔</dc:creator>
				<category><![CDATA[電腦雜碎]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://orz.hk/?p=3588</guid>
		<description><![CDATA[用開既 linksys WRT54G hardware version 5 都用左四五年, 外型同功能都唔錯, 但用得耐神神地, bt 一段時間個 router 既 interface 乜都冇得睇, 而家夏天焗得濟仲會會死, 係咁 drop packets, 亦因為咁焗住買過隻 router。 睇左成日最後買左隻 Level one WBR 6003 wireless router, 買嗰時只係得陳列品, 不過又唔係 LCD monitor 咁開住, 所以冇所謂, 況且 HKD 170 蚊價都癈事講。 隻 router 有 SNMP (simple network management protocol) 好鬼好玩, 可以上我本身用開既 NMS (network management system) 度睇返d 流量同穩定程度。舊嗰隻router 個 [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://orz.hk/wp-content/uploads/2010/06/WRT54G5.png" alt="" title="WRT54G,5" width="232" height="174" align="right" class="size-full wp-image-3599" />用開既 linksys WRT54G hardware version 5 都用左四五年, 外型同功能都唔錯, 但用得耐神神地, bt 一段時間個 router 既 interface 乜都冇得睇, 而家夏天焗得濟仲會會死, 係咁 drop packets, 亦因為咁焗住買過隻 router。</p>
<p>睇左成日最後買左隻 Level one WBR 6003 wireless router, 買嗰時只係得陳列品, 不過又唔係 LCD monitor 咁開住, 所以冇所謂, 況且 HKD 170 蚊價都癈事講。 隻 router 有 SNMP (simple network management protocol) 好鬼好玩, 可以上我本身用開既 NMS (network management system) 度睇返d 流量同穩定程度。舊嗰隻router 個 linux firmware opensource 都可以攪到有 SNMP, 但太麻煩冇攪到。不過 WBR 6003 個 SNMP 都未盡完善, 因為行 snmpwalk 時有個 OID 撞左, 行唔晒, 要用 snmpwalk -cC 先行得晒&#8230;</p>
<p>Level one WBR 6003 個樣唔係咁討好, 不過放入櫃入面冇所謂:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/p_668_1_b.jpg" alt="" title="p_668_1_b" width="348" height="261" class="size-full wp-image-3591"  /></p>
<p>Specification:</p>
<ul>
<li>chipset: Ralink RT3050</li>
<li>session limit: 10,000</li>
<li>ROM: 2MB</li>
<li>SD RAM: 8MB</li>
<li>唔 support https management</li>
</ul>
<p>OpenNMS 入面睇返既其中一個 Chart, 如果 OpenNMS 冇用開可以用 Hypernic HQ open source:<br />
<img src="http://orz.hk/wp-content/uploads/2010/06/opennms.gif" alt="" title="opennms" width="497" height="199" class="alignnone size-full wp-image-3589" /></p>
<p>除左 SNMP 之外, 隻 router 仲支持 wake-on-lan, 不過暫時未有機要用到, 遲下可能試下部 desktop, 但長遠都唔會咁做, 因為 remote 要 login 入去 router 個 admin interface 唔係咁安全。</p>
<p>原先想買同價既 level one WBR 6002, 有雙 ssid, 朋友上黎屋企會方便d, 不過實際上就算用入到黎我個network 最多搵到都係乜嬌物嬌既甜相, 冇乜所謂。</p>
<p>WBR 6003 既 web interfaces 感覺上速度比隻 WRT54G 快好多好多, 外型上又係又細好多, 雖然單天線, 間屋只係得實用面稱 800呎間隔又簡單, 所以全屋接收冇問題。</p>
<p>不過當個 wifi 行 WPA-PSK, d device 就算好近個 router 都有嚴重既 packet loss, 無論係 notebook 定係部 wii 都有咁既情況, 可能係附近太多 router 行同一個 channel, 試下可能好些少, 又或者試下只係行 b / g 睇下會唔會改善。對我黎講唔行 encryption 既話就冇咁既問題, 因為我一向都唔用, 因為本身都用 VPN/SSL, 就算截到都係d 乜嬌物嬌既相, 長期截最多咪由第一季截到第十三季。可能我用返隻舊 router 行wifi, 依隻野就當做wired router 吧, 不過咁既做法太浪費地方。</p>
<p>一般黎講買 router 唔係買硬件咁簡單, 日後有 firmware updates 都係一件幾重要既事。 可惜我去 level one 個 website 度見有 R0.10_0721 update, 之但係嘗試 update 唔成功, 可能我隻 router 唔係 hardware version 1 吧。雖然個 update 只係得三個無聊 fixes, 但係對之後既 update 都有d 擔心, 相比起 linksys 依方面真係差左d。</p>
<p>如果可以再選既話, 我可能會買 ASUS WL-520GU (HKD 250) 或 Buffalo WHR-G125 (HKD 280 + 樣衰), 因為 firmware 又係可以玩 Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.hk/2010/06/06/3588/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
