Add C/C++ interfaces for PPB_Ext_Alarms_Dev and PPB_Ext_Events_Dev.

This CL also adds necessary C++ utilities to support these interfaces.

An example of using these APIs:
https://codereview.chromium.org/12387051/

BUG=None
TEST=None

Review URL: https://codereview.chromium.org/12295043

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187227 0039d316-1c4b-4281-b951-d872f2087c98
drive: Propagate per-directory changestamp while processing change list

This is in preparation for "fast fetch" feature.

BUG=178348
TEST=none; no functional change. unit tests updated.

Review URL: https://codereview.chromium.org/12478003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187228 0039d316-1c4b-4281-b951-d872f2087c98
Revert 187227 since it caused buildbot failure in NativeClientSDK on linux-sdk-multi
- Add C/C++ interfaces for PPB_Ext_Alarms_Dev and PPB_Ext_Events_Dev.

This CL also adds necessary C++ utilities to support these interfaces.

An example of using these APIs:
https://codereview.chromium.org/12387051/

BUG=None
TEST=None

Review URL: https://codereview.chromium.org/12295043

TBR=yzshen@chromium.org
Review URL: https://codereview.chromium.org/12760002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187229 0039d316-1c4b-4281-b951-d872f2087c98
Implement the Stream registry in content

This is the first part of the content side of the Streams api.
See:
https://bugs.webkit.org/show_bug.cgi?id=110194
https://dvcs.w3.org/hg/streams-api/raw-file/tip/Overview.htm

BUG=171585


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187230 0039d316-1c4b-4281-b951-d872f2087c98
Fix cookie searchbox bug.

Clear the last query when the cookie list pane is displayed.

BUG=180181


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187231 0039d316-1c4b-4281-b951-d872f2087c98
Introduce ApplyLocalChangeParam and pass around the param in LocalSync callback chain

As a preparation to resolve conflict for LAST_WRITE_WIN policy in LocalSync.

BUG=177159
TEST=none; this change is refactoring only

Review URL: https://codereview.chromium.org/12611006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187232 0039d316-1c4b-4281-b951-d872f2087c98
Implement IPC::ChannelFactory, a class that accept()s on a UNIX socket.

IPC::ChannelFactory listens on a UNIX domain socket and notifies its delegate
when a client connects. The delegate is expected to craft an IPC::Channel from
the handle it is given.

Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186912

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187233 0039d316-1c4b-4281-b951-d872f2087c98
SyncFS: Pass local/remote change processors to remote/local service upon initialization

Rather than passing the processors upon ProcessLocalChange or
ProcessRemoteChange, so that we can use the processors even outside
the Process{Local,Remote}Change (e.g. for conflict resolution).

This change does:
- Remove local change processor argument from LocalFileSyncService::ProcessLocalChange()
- Remove remote change processor argument from RemoteFileSyncService::ProcessRemoteChange()
- Add LocalSyncService::SetLocalChangeProcessor() and RemoteFileSyncService::SetRemoteChangeProcessor() instead, and call them in the initialization path.

BUG=177159
TEST=existing tests
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187234 0039d316-1c4b-4281-b951-d872f2087c98
ChromeV8Context: initialise the v8 context scope *after* we know it's valid.


BUG=181462


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187235 0039d316-1c4b-4281-b951-d872f2087c98
Remove the action choose dialog's icon and title.

By creating a browser and later adding a tab using chrome::AddSelectedTabWithURL it is impossible to get rid of the icon and the title.
However, chrome::OpenApplication can do that, but it doesn't allow to pass dimensions. Therefore, an argument has been added to be able to override bounds.

TEST=Insert an sd card with a DCIM folder. Verify the action choose dialog.
BUG=179084

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187236 0039d316-1c4b-4281-b951-d872f2087c98
Change chrome://mobilesetup to open the networks portal page instead of starting activation flow for activated networks.

Change 'view account' button to use the new ui instead of opening the mobile extension directly.

For lte devices, detect when the portal cannot be reached due to no connectivity and display message prompting user to connect to Wi-Fi in that case.


BUG=178272
TEST=
1) click 'view account' button on settings page for an activated LTE network
-> Network portal should appear
2) disconnect all active connections
->a page with message 'Connect to Wi-Fi to login' should appear
3) connect CrOS device to a network
->Network portal should be shown again
4) disable mobile data
->mobilesetup ui closes

TBR=sky@chromium.org (for chrome/browser/browser_resources.grd)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187239 0039d316-1c4b-4281-b951-d872f2087c98
Revert 187233
> Implement IPC::ChannelFactory, a class that accept()s on a UNIX socket.
> 
> IPC::ChannelFactory listens on a UNIX domain socket and notifies its delegate
> when a client connects. The delegate is expected to craft an IPC::Channel from
> the handle it is given.
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186912
> 
> Review URL: https://chromiumcodereview.appspot.com/12386010

TBR=jeremya@chromium.org
Review URL: https://codereview.chromium.org/12761003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187240 0039d316-1c4b-4281-b951-d872f2087c98
Automated Commit: Committing new LKGM version 3821.0.0 for chromeos.

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187242 0039d316-1c4b-4281-b951-d872f2087c98
chromeos: Store DriveEntry's data with DriveEntryProto

Remove DriveFile, use DriveEntry for files instead.
Remove unused getters.
Remove some of many ToProto/FromProto methods.

BUG=137375
TEST=unit_tests --gtest_filter="Drive*"

Review URL: https://codereview.chromium.org/12623008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187243 0039d316-1c4b-4281-b951-d872f2087c98
drive: Add tests for DriveResourceMetadata::RefreshDirectory()

The function didn't have unit tests...

BUG=178348
TEST=none; no change in the production code

Review URL: https://codereview.chromium.org/12692004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187244 0039d316-1c4b-4281-b951-d872f2087c98
Adds animation on a hovered directory/volume when dragging files in Files.app

To give more visible feedback, an animation has been added. The target directory blinks three times before it is opened. Along the way, now the directories which can't accept files are not openable.

TEST=Drag a file to some directory on a different volume.
BUG=137980


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187245 0039d316-1c4b-4281-b951-d872f2087c98
drive: Fix a bug in DriveFileSystem::ReadDirectoryByPath()

crrev.com/186883 introduced a regression which caused reading of
non-root directories to fail, if ReadDirectoryByPath() is called
before the resource list is loaded.

BUG=181487
TEST=unit test added

Review URL: https://codereview.chromium.org/12459017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187246 0039d316-1c4b-4281-b951-d872f2087c98
Files.app: Use chrome://extension-icon to read an app icon instead of chrome-extension://.

Some app dosen't allow external apps (eg. Files.app) to read its own resources from chrome-extensions://. To show an icon of such an apps, chrome://extension-icon/.

BUG=179255
TEST=Confirms an icon of apps is shown correctly in Files.app
R=satorux@chromium.org

Review URL: https://codereview.chromium.org/12482008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187247 0039d316-1c4b-4281-b951-d872f2087c98
Implement the 'resizable' app window property on GTK.

R=estade@chromium.org
BUG=179206


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187248 0039d316-1c4b-4281-b951-d872f2087c98
Fixes message popup collection bugs.

This CL fixes the crash bugs of message_popup_collection. Also I found
behavioral issues, newer toasts will 'kick-out' the old ones if the total
size exceeds the work area height, which looks weird. IIRC it should
keep the old items and the newer ones will appear when old ones disappear
by timeout.

BUG=180973


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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187249 0039d316-1c4b-4281-b951-d872f2087c98