Use HttpAuthController in SocketStream

We need to share http auth cache with http stack because WebSocket is a
subresource and chromium won't show the login dialog for subresource
loading. Use HttpAuthController and pass the common http auth cache to
it to solve the issue.

BUG=47069
TEST=net_unittests


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155582 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Rename Windows SystemMonitor implementation files.

Also, add an OWNERS file.

BUG=145400


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Rename GData/gdata to Drive/drive for comments/local variables/member variables

BUG=137151
TEST=pass all existing tests.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155584 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Rename gdata_test_util.{h,cc} to drive_test_util.{h,cc}

BUG=137151
TEST=pass all existing tests.
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155585 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix include guard style for stale_cache_files_remover.h

BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155586 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Replace PeekMessage for TSF awareness
Replace PeekMessage with TSF interface's one in MessagePumpForIO
Add MessagePumpTSFInternal class for above replacing.


BUG=137627
TEST=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155589 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Add App Icon support for ShellWindow on Gtk and Windows. 
Update the app icon on dock/taskbar and tab switcher.

BUG=139569
Test=manually


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155590 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
chromeos: Fix a bug where connection type change sometimes unreported

BUG=146676
TEST=http://codereview.chromium.org/10915077/ needs to be landed to test this patch.  Then verifying that 141485 is fixed also verifies this change.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155609 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
chrome: Remove another entry from DEPS file.

This file was removed in a past revision.

BUG=125846
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155612 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Revert 155468 - Change how ui::Clipboard is accessed so there's only one per thread.

Currently, there can be any number of Clipboard objects, which can be massively simplified. This removes interfaces for fetching the Clipboard and makes everyone go through a single static ui::Clipboard::GetForCurrentThread() access point.

BUG=130805
TBR=tc (change in webkit/ is trivial)

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

TBR=erg@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10919180

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155615 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Converted policy.PolicyTest.testDisableSPDY pyauto test to browser_tests.

BUG=143637


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155628 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
base::i18n::StringSearch...() returns match index and length

Update base::i18n::StringSearchIgnoringCaseAndAccents() to
take additional out-params for the index and length of the
matched text.

BUG=none
TEST=none


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155629 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Rename proto member which has 'gdata' to 'drive'

This is rename only, so this will not change stored metadata format.

BUG=137151
TEST=pass all existing tests.


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155630 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
contacts: Add ContactMap class.

This is a simple map from contact ID to Contact object.  I'm
moving the merging code from GoogleContactStore into it, and
making both GoogleContactStore and FakeContactDatabase
(which formerly had ugly code that used a vector of
contacts) use it.

A later change will make GoogleContactStore drop deleted
contacts (hanging on to them indefinitely seems ugly).
While working on that, I noticed that FakeContactDatabase's
vector is lacking for supporting that and figured that it'd
be best to make it share GoogleContactStore's existing
merging code.

BUG=128805
TEST=none
TBR=sky@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155634 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
views: Make a copy of extension_view.*

This is so I can rename ExtensionView to ExtensionViewViews in a follow up patch
without confusing git and to make the diff nicer and easier to read.

BUG=125846
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155640 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
drive: Replace chromeos::NetworkLibrary use in DriveSyncClient with net::NetworkChangeNotifier

BUG=141485
TEST=unit_tests --gtest_filter="DriveSyncClientTest.*"


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155644 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Modifies history backend to be able to take advantage of storing the pixel size of favicons into the database.
Changed FaviconData to allow retrieving favicon bitmaps for multiple pixel sizes from the database simultaneously.
Added History::GetFavicons() and History::GetFaviconsForURL() to do this.
Changed History::SetFavicon() to History::SetFavicons() such that multiple favicon bitmaps for a page URL can be set simultaneously.

BUG=138553
TEST=ThumbnailDatabaseTest.*, HistoryBackendTest.*

Depends on http://codereview.chromium.org/10815068

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
views: Fix header include guards of extension_view_views.h.

BUG=125846
TBR=ben@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155646 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Remove unused attributes in TestFaviconHandler

BUG=None
Test=unit tests compile
TBR=sky

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155648 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Converted policy.PolicyTests to browser_tests:
- testDisabledPlugins
- testDisabledPluginsException
- testEnabledPlugins
- testAlwaysAuthorizePlugins

BUG=115427,96896,143637


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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@155650 4ff67af0-8c30-449e-8e8b-ad334ec8d88c