Deprecate chrome.extension.sendRequest in favor of sendMessage, with a safer
API that allows us to close the request port when the receiver doesn't send a
response.

BUG=120531,114738
TEST=no

Review URL: https://chromiumcodereview.appspot.com/9965005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130213 0039d316-1c4b-4281-b951-d872f2087c98
Suppress View Page Info and View Frame Info context menu items when there's no browser.

This is a temporary hack to prevent Chrome from crashing when page/frame info is shown via Chrome Frame.

BUG=120901
TEST=navigate to a page rendered in Chrome Frame and confirm that "View Page Info" and "View Frame Info" are not present in page/frame context menus.

Review URL: http://codereview.chromium.org/9969044

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130215 0039d316-1c4b-4281-b951-d872f2087c98
Added the last change time stamp to the metadata feed parser.

BUG=chromium-os:28820
TEST=GDataParserTest.AccountMetadataFeedParser

Review URL: https://chromiumcodereview.appspot.com/9969074

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130216 0039d316-1c4b-4281-b951-d872f2087c98
Change InterleaveFloatToInt16() to work with uint8 and int32

Parts of the AudioDevice code assumed 16-bit audio, which broke the 8-bit
audio case. This CL gets rid of that assumption.

BUG=120168
TEST=8-bit audio streams play correctly

Review URL: https://chromiumcodereview.appspot.com/9864016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130218 0039d316-1c4b-4281-b951-d872f2087c98
Save the host id to local storage.

This is a temporary fix to allow progress to made on crbug.com/121151.

BUG=121518
TEST=Manual

Review URL: https://chromiumcodereview.appspot.com/9956075

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130219 0039d316-1c4b-4281-b951-d872f2087c98
Reland - Limit Chrome To Mobile cloud print access; refinements etc.
This is a continuation of http://codereview.chromium.org/9863054/
Patch Set 1 is crrev.com/129779 reverted with crrev.com/129785.
Originally reverted for memory problems (use of raw pointers).
Fixed here by using scoped_refptr<ChromeToMobileService>, not raw ptrs.

ORIGINAL CL DESCRIPTION (still applies):
Limit Chrome To Mobile cloud print access; refinements etc. 
Check the user's account info before contacting cloud print. 
Only ping cloud print for users of that service. 

Make ChromeToMobileService a RefcountedProfileKeyedService. 
Add and check |temp_dir_valid_| on GenerateSnapshot. 
Fix a JSON DictionaryValue leak from ParseResponseJSON use. 
Make |mobiles_| a ScopedVector of DeepCopy DictionaryValues. 

Call new ChromeToMobileService::HasDevices for encapsulation. 
Call RequestMobileListUpdate from bubbles, not their callers. 
Mock RequestMobileListUpdate so tests do not send requests. 
Store the service, not the profile, as a bubble class member. 
Skip IsSyncAccessible on updates (the first check suffices). 

Auto-close on Mac via performSelector, not PostDelayedTask. 
cancelPreviousPerformRequestsWithTarget on windowWillClose. 
Call OnChanged after UpdateChromeToMobileEnabled for Mac. 
(the icon wasn't showing up immediately on Release builds) 

BUG=102709, 118691
TEST=Less cloud print traffic. No apparent behavior changes.

Review URL: http://codereview.chromium.org/9950028

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130220 0039d316-1c4b-4281-b951-d872f2087c98
Merge remote branch 'origin/trunk' into its-ctl/chrome-browser-net

Conflicts:
	chrome/browser/net/sqlite_origin_bound_cert_store_unittest.cc
Merge branch 'its-ctl/chrome-browser-net' into its-ctl/chrome-browser-resources

Conflicts:
	chrome/browser/resources/options/advanced_options.js
	chrome/browser/resources/options2/language_options.js