chromeos::Preferences works correctly in multi-profile session.

* When pref is changed it is applied only if user owning this pref is active.
* Owner's prefernces is saved to local state even if owner is inactive.

Additionally:
* Removed deprecated pref kEnableTouchpadThreeFingerSwipe.

BUG=325564,223480
TEST=browser_tests --gtest_filter=PreferencesTest.*
TBR=noms

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251550 0039d316-1c4b-4281-b951-d872f2087c98
Eliminate ChromeEncryptor in favor of using webdata's Encryptor directly.

BUG=339731
TEST=chrome, unit_tests, sync_unit_tests
R=zea@chromium.org
TBR=thestig,joi

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

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

r251522 and r251550 are conflicting. Both in fly and crashes.

BUG=325564,223480
TBR=dzhioev@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251552 0039d316-1c4b-4281-b951-d872f2087c98
Revert of Remove --enable-per-tile-painting and --ui-enable-per-tile-painting. (https://codereview.chromium.org/164183012/)

Reason for revert:
Breaks compositor_unittests on ChromeOS.

http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/39630

LayerWithRealCompositorTest.Delegate (run #1):
[ RUN      ] LayerWithRealCompositorTest.Delegate
../../ui/compositor/layer_unittest.cc:527: Failure
Value of: l1->bounds().size()
  Actual: 8-byte object \u003C90-01 00-00 90-01 00-00>
Expected: delegate.paint_size()
Which is: 8-byte object \u003C00-00 00-00 00-00 00-00>
...

LayerWithRealCompositorTest.NoScaleCanvas (run #1):
[ RUN      ] LayerWithRealCompositorTest.NoScaleCanvas
../../ui/compositor/layer_unittest.cc:1311: Failure
Value of: l1_delegate.paint_size().ToString()
  Actual: "0x0"
Expected: "280x360"
[  FAILED  ] LayerWithRealCompositorTest.NoScaleCanvas (112 ms)
...

I can repro the failures on my dev box and revert this CL fixes the problem.

Original issue's description:
> Remove --enable-per-tile-painting and --ui-enable-per-tile-painting.
> 
> The ui flag is always true on ChromeOS and off elsewhere. The other is
> never on and we're not planning to turn it on.
> 
> R=piman
> BUG=
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251538

TBR=piman@chromium.org,danakj@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=

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

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251554 0039d316-1c4b-4281-b951-d872f2087c98
Fix CreateHRGNFromSkPath to support arbitrary SkPaths.

Also adds tests for CreateHRGNFromSkPath and CreateHRGNFromSkRegion.

BUG=322360

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251555 0039d316-1c4b-4281-b951-d872f2087c98
Add missing remoting_host dependency on remoting_lib_idl.

remoting_lib_idl generates chromoting_lib.h from IDL, which the
DesktopSessionWin implemenation in remoting_host depends upon.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251556 0039d316-1c4b-4281-b951-d872f2087c98
Merge TranslateTabHelper::TranslateStep and TranslateInfoBarDelegate::Type

TranslateTabHelper::TranslateStep, TranslateInfoBarDelegate::Type and
TranslateBubbleModel::ViewState all track the state of the Translate process.

This CL removes TranslateInfoBarDelegate::Type and removes a lot of references
to TranslateBubbleModel::ViewState, which now becomes an implementation
detail of TranslateBubbleModel.

BUG=NONE
TBR=jochen

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251557 0039d316-1c4b-4281-b951-d872f2087c98
Clear the secrets reg key as well as the clients reg key in clearPairedClients.

BUG=325567

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251558 0039d316-1c4b-4281-b951-d872f2087c98
Remove hardcoded "Preferences" strings in c/b/extensions

And cleaned up other hardcoded strings on the fly as I noticed them.

BUG=343692

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251559 0039d316-1c4b-4281-b951-d872f2087c98
Add the it2me native messaging host to the windows installer.

BUG=338952

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251560 0039d316-1c4b-4281-b951-d872f2087c98
When cross-site navigations are cancelled, delete the
ResourceLoader that would have been trasferred to the
new renderer. These were being leaked, and would keep
a lock on disk cache entries, making a page impossible
to visit after a cancelled cross site navigation to it.

BUG=341134

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251561 0039d316-1c4b-4281-b951-d872f2087c98
Callback, brought to you by the letter B.

BUG=none
TEST=no change

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251562 0039d316-1c4b-4281-b951-d872f2087c98
Move browser initiated navigation from RenderViewHost to RenderFrameHost.

BUG=304341
TBR=jochen@chromium.org

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

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