<!--
	See Google.com_Subdomains_Complex.html for rules that don't match the simple rule here
	For other Google coverage, see GoogleServices.xml

	Nonfunctional domains:

		- partnerpage.google.com *
		- picasa.google.com *
		- www.picasa.google.com ²
		- www.photo.google.com
		- safebrowsing.clients.google.com	(404, mismatched)
		- (www.)googlesyndicatedsearch.com	(404; mismatched, CN: google.com)
		- buttons.googlesyndication.com *

	* 404, valid cert
	² 404; mismatched, CN: www.google.com

	Problematic domains:

		- www.goo.gl		(404; mismatched, CN: *.google.com)

		- www.news.google.ca ²

		- google.com subdomains:

			- cbks0 ****
			- earth *
			- gg		($ 404s)
			- knoll *
			- scholar **
			- suggestqueries (different content http/https)
			- trends *


	Partially covered domains:

		- google.cctld subdomains:

			- scholar	(→ www)

		- google.com subdomains:

			- (www.)
			- cbks0		($ 404s)
			- gg		($ 404s)
			- news		(→ www)
			- scholar	(→ www)
-->
<ruleset name="Google.com Subdomains">
	<target host="admin.google.com" />
	<target host="alerts.google.com" />
	<target host="apis.google.com" />
	<target host="chart.apis.google.com" />
		<test url="http://chart.apis.google.com/chart?cht=p3&amp;chd=t:60,40&amp;chs=250x100&amp;chl=Hello|World" />
	<target host="appengine.google.com" />
	<target host="calendar.google.com" />
	<target host="cast.google.com" />
	<target host="cbks0.google.com" />
	<target host="cert-test.sandbox.google.com" />
	<target host="checkout.google.com" />
	<target host="chrome.google.com" />
		<!-- See the complex ruleset for clients\d -->
		<!-- See the complex ruleset for *.clients\d -->
	<target host="cloud.google.com" />
	<target host="code.google.com" />
	<target host="codesearch.google.com" />
	<target host="contacts.google.com" />
		<target host="*.corp.google.com" />
			<test url="http://discovery.corp.google.com/" />
			<test url="http://ideas.corp.google.com/" />
			<test url="http://login.corp.google.com/" />
			<test url="http://next.dasher-qa.corp.google.com/" /><!-- 3rd level subdomain -->
			<test url="http://onepick.corp.google.com/" />
	<target host="developers.google.com" />
	<target host="dl.google.com" />
	<target host="docs.google.com" />
		<!-- See the complex ruleset for docs\d -->
		<!-- See the complex ruleset for \d\.docs -->
	<target host="drive.google.com" />
	<target host="earth.google.com" />
	<target host="encrypted.google.com" />
		<!-- See the complex ruleset for encrypted-tbn\d -->
	<target host="feedburner.google.com" />
	<target host="feedproxy.google.com" />
	<target host="fiber.google.com" />
	<target host="gg.google.com" />
	<target host="glass.google.com" />
	<target host="goto.google.com" />
	<target host="health.google.com" />
	<target host="helpouts.google.com" />
	<target host="history.google.com" />
	<target host="hostedtalkgadget.google.com" />
	<target host="investor.google.com" />
	<target host="ipv4.google.com" />
	<target host="ipv6.google.com" />
	<target host="khms.google.com" />
	<target host="khms0.google.com" />
		<test url="http://khms0.google.com/kh/v=157&amp;src=app&amp;x=5&amp;y=0&amp;z=3" />
		<!-- test url 404s but I couldn't find any that still worked -->
	<target host="khms1.google.com" />
		<test url="http://khms1.google.com/kh/v=157&amp;src=app&amp;x=5&amp;y=0&amp;z=3" />
		<!-- test url 404s but I couldn't find any that still worked -->
	<target host="khms2.google.com" />
	<target host="khms3.google.com" />
	<target host="knol.google.com" />
	<target host="knoll.google.com" />
	<target host="mail.google.com" />
		<target host="chatenabled.mail.google.com" />
	<!-- See GoogleMaps.xml for maps -->
	<target host="maps-api-ssl.google.com" />
		<test url="http://maps-api-ssl.google.com/maps/api/js?sensor=false" />
	<target host="mw2.google.com" />
	<target host="pack.google.com" />
	<target host="photo.google.com" />
	<target host="photos.google.com" />
	<target host="www.photos.google.com" />
	<target host="pki.google.com" />
	<target host="play.google.com" />
	<target host="plus.google.com" />
		<target host="plus.sandbox.google.com" />
	<target host="plusone.google.com" />
	<target host="productforums.google.com" />
	<target host="profiles.google.com" />
	<target host="safebrowsing.google.com" />
	<target host="safebrowsing-cache.google.com" />
	<target host="sb-ssl.google.com" />
	<!-- see Google.tld_Subdomains.xml for scholar -->
	<target host="script.google.com" />
	<target host="security.google.com" />
	<target host="services.google.com" />
	<target host="shopping.google.com" />
	<target host="sites.google.com" />
	<target host="slides.google.com" />
	<target host="sorry.google.com" />
	<target host="spreadsheets.google.com" />
	<target host="support.google.com" />
	<target host="talk.google.com" />
	<!-- See the complex ruleset for tbn\d -->
	<target host="tools.google.com" />
	<target host="trends.google.com" />
	<target host="videos.google.com" />
	<target host="wallet.google.com" />

	<securecookie host="^(\.code|login\.corp|developers|docs|\d\.docs|fiber|mail|plus|\.?productforums|support)\.google\.com$" name=".+" />
	<securecookie host="^maps-api-ssl\.google\.com$" name=".+" />

	<rule from="^http:"
		to="https:" />

</ruleset>
