[Autofill] Add basic version of GridLayout

R=sail@chromium.org
BUG=157274

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199901 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Create an interface which SyncableServices can use for making changes directly on the Autofill DB.

TBR=akalin@chromium.org (c/b/sync/)
BUG=230920

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199904 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix /Same as billing/, fix entering new Wallet data (maybe?), show an error
message or disable wallet on required actions, hook up updating of instruments &
addresses, save billing addresses as shipping addresses, and fix countless other
bugs along the way.

Based on patches by Alex Hutter <ahutter@chromium.org> and Raman Kumar Kakilate
<ramankk@chromium.org> and help from everybody else as well...

BUG=163508,225439,225442,236091,237684,237687
R=estade@chromium.org,isherman@chromium.org
NOTRY=true

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199906 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
It looks like data type manager is configured twice today when ProfileSyncService::OnBackendInitialized is called. One is by SigninTracker when it's notified of PSS state change. And ProfileSyncService::OnBackendInitialized configures data type manager directly later. This unnecessarily sets needs_reconfigure flag of data type manager and causes confusion in identifying first-sync data types.

BUG=236466

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199909 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix accidental scrolling on 'about:flags'.

The patch in r198876 added support for anchors to flags. It, unfortunately, also
broke the "enable" link's UI. This patch fixes things up such that clicking an
"enable" link doesn't scroll back up to the anchor-referenced flag, but remains
focused on whatever the user is currently clicking.

BUG=239895

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199910 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Move GetISOLanguageCountryCodeFromLocale() to common to be shared

This CL moves GetISOLanguageCountryCodeFromLocale() to spellheck_common to be
shared among spelling service client and spellcheck service.

BUG=170514

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199913 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
app_list: Remove v1 app arrow overlay for cros.

BUG=240408

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199914 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
drive: Rename GetEntryInfo* to GetResourceEntry* in ResourceMetadata

Historically the term "EntryInfo" has been used in many functions and
callback types but these are not good names. "ResourceEntry" should be
the right term for these.

BUG=238949
TEST=none; mechanical renames.
R=hashimoto@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fix timing issue in PasswordManagerBrowsertest

Currently it is possible for navigation to happen before the callback from the
PasswordStore has been run, which prevents the save password prompt from being
shown and causes flakiness.

BUG=235386

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

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

Next step on re-factoring Notifications. This will bring the MessageCenter classes, most important message_center::Notification, into build on all systems, including those where the MessageCenter is not yet appearign in UI. This will allow to start using this Notification class in client code and remove the old Notification class defined in chrome/browser/notificaitons/notification.h

That will allow the clients that already use Rich Notifications to use richer data type support, for example supply an image bits for a Notification (as in Snapshot notifications).

This also removes a lot of compile-time @ifdefs and replaces them with checking a runtime flag which we already have anyways.

On Android and iOS, the MessageCenter is not compiled in, for the size concerns and uncertain story for notifications in general - the existing ENABLE_NOTIFICATIONS define is used for that.

BUG=174164

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199920 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
[Downloads] Clear current_path_ when deleting intermediate file.

Relanding: Previously reverted due to browser_tests failure.

The current_path_ points to the path of the intermediate file. Clearing
this when deleting the intermediate file:

- Prevents a stale reference from being persisted in the downloads
  history DB.

- Makes it possible to tell during downloads resumption that the
  intermediate file has been deleted.

BUG=7648

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

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199922 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Check the user domain for ChallengeMachineKey().

BUG=chromium:240210
TEST=unit_tests

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199932 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Upload whole the file at once.

This should improve the uploading performance, especially focusing on bigger
files. (Uploading smaller files shouldn't be affected).

BUG=180092
TEST=Ran unit_tests and tested manually.

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199939 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
drive: Rename GetEntryInfo* to GetResourceEntry* in drive::FileSystem

Historically the term "EntryInfo" has been used in many functions and
callback types but these are not good names. "ResourceEntry" should be
the right term for these.

BUG=238949
TEST=none; mechanical renames
R=hashimoto@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199942 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Added AttestationEnabledForDevice policy to template and decoder.

This was missed when the policy was originally added so it did not show
on chrome://policy.

BUG=chromium:238815
TEST=unit, manual

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199946 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Diversify the Instant.TimeToFirstShow into NTP, SERP, and Web flavors.

BUG=

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199947 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Fixed dialog buttons in the Files.app's photo editor.

The problem with buttons occured because of conflict of css selectors for gallery's buttons and the dialog, which are completely different. This patch addresses this issue by adding a .toolbar and .header context to the button's selectors so they do not affect general button styles.

TEST=Open a photo in Files.app, try to delete.
BUG=240402

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199953 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Get rid of most chrome/browser/ users of webkit_glue::ImageDecoder

When decoding images from trusted sources or in unit tests, there's no need
to use the WebKit image decoders - the ones in ui/gfx/ work just fine.

BUG=237267

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199954 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Use MockDBusThreadManagerWithoutGMock for AutomaticRebootManager{Basic,}Test

Adding FakePowerManagerClient a counter for RequestRestart() call.

BUG=223061
TEST=unittests
R=bartfab@chromium.org, satorux@chromium.org

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

git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser@199956 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Blacklist Khmer and Sinhala languages on Chrome OS

BUG=239375

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

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