Revert 242286 "Implements the dialog view for logout confirmatio..."

Broke ash_unittests on the cros asan bot, starting here:
http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20ASAN%20Tests%20%281%29/builds/14682

Example leaks:

Indirect leak of 584 byte(s) in 1 object(s) allocated from:
    #0 0x48e7d9 in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:52
    #1 0x147ca2f in ash::internal::LogoutConfirmationDialogView::LogoutConfirmationDialogView(ash::internal::LogoutButtonTray*, ash::internal::LogoutConfirmationDialogView::Delegate*) ash/system/logout_button/logout_confirmation_dialog_view.cc:39
    #2 0x147b683 in EnsureConfirmationDialogIsShowing ash/system/logout_button/logout_button_tray.cc:158
    #3 0x147b683 in ash::internal::LogoutButtonTray::ButtonPressed(views::Button*, ui::Event const&) ash/system/logout_button/logout_button_tray.cc:204
    #4 0x94e05f in ash::internal::LogoutConfirmationDialogTest::PressButton() ash/system/logout_button/logout_button_tray_unittest.cc:230
    #5 0x953d63 in ash::internal::LogoutConfirmationDialogTest_UserClickedButton_Test::TestBody() ash/system/logout_button/logout_button_tray_unittest.cc:317
    #6 0xf8b77a in testing::Test::Run() testing/gtest/src/gtest.cc:2061
    #7 0xf8d77c in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
    #8 0xf8e6f2 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
    #9 0xf9f585 in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
    #10 0xf9eade in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
    #11 0xf9eade in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
    #12 0xf4aa22 in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
    #13 0xf4aa22 in base::TestSuite::Run() base/test/test_suite.cc:213
    #14 0xf411ef in Run base/callback.h:401
    #15 0xf411ef in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:505
    #16 0x9a49f5 in main ash/test/ash_unittests.cc:12
    #17 0x7fd291b1676c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226

Indirect leak of 560 byte(s) in 1 object(s) allocated from:
    #0 0x48e7d9 in operator new(unsigned long) /usr/local/google/work/chromium/src/third_party/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:52
    #1 0x147b64f in EnsureConfirmationDialogIsShowing ash/system/logout_button/logout_button_tray.cc:158
    #2 0x147b64f in ash::internal::LogoutButtonTray::ButtonPressed(views::Button*, ui::Event const&) ash/system/logout_button/logout_button_tray.cc:204
    #3 0x94e05f in ash::internal::LogoutConfirmationDialogTest::PressButton() ash/system/logout_button/logout_button_tray_unittest.cc:230
    #4 0x953d63 in ash::internal::LogoutConfirmationDialogTest_UserClickedButton_Test::TestBody() ash/system/logout_button/logout_button_tray_unittest.cc:317
    #5 0xf8b77a in testing::Test::Run() testing/gtest/src/gtest.cc:2061
    #6 0xf8d77c in testing::TestInfo::Run() testing/gtest/src/gtest.cc:2237
    #7 0xf8e6f2 in testing::TestCase::Run() testing/gtest/src/gtest.cc:2344
    #8 0xf9f585 in testing::internal::UnitTestImpl::RunAllTests() testing/gtest/src/gtest.cc:4065
    #9 0xf9eade in HandleExceptionsInMethodIfSupported\u003Ctesting::internal::UnitTestImpl, bool> testing/gtest/src/gtest.cc:2045
    #10 0xf9eade in testing::UnitTest::Run() testing/gtest/src/gtest.cc:3697
    #11 0xf4aa22 in RUN_ALL_TESTS testing/gtest/include/gtest/gtest.h:2231
    #12 0xf4aa22 in base::TestSuite::Run() base/test/test_suite.cc:213
    #13 0xf411ef in Run base/callback.h:401
    #14 0xf411ef in base::(anonymous namespace)::LaunchUnitTestsInternal(int, char**, base::Callback\u003Cint ()> const&, int) base/test/launcher/unit_test_launcher.cc:505
    #15 0x9a49f5 in main ash/test/ash_unittests.cc:12
    #16 0x7fd291b1676c in __libc_start_main /build/buildd/eglibc-2.15/csu/libc-start.c:226

> Implements the dialog view for logout confirmation dialog in public sessions.
> 
> Implements ash::internal::LogoutConfirmationDialogView which is supposed
> to be used by ash::internal::LogoutButtonTray.
> 
> BUG=223846
> TEST=new unit test
> 
> Review URL: https://codereview.chromium.org/40053002

TBR=binjin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242329 0039d316-1c4b-4281-b951-d872f2087c98
Fix memory leak in TransientWindowStackingClientTest caused by r242126.

http://src.chromium.org/viewvc/chrome/trunk/src/ui/aura/client/window_stacking_client.cc?r1=241867&r2=242126
changed SetWindowStackingClient() to no longer delete the old client, but it
didn't update these tests which relied on that behavior. Explicitly delete this
object in the test.

BUG=330382
TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242330 0039d316-1c4b-4281-b951-d872f2087c98
Attempt to fix build after r242330.

BUG=330382
TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242331 0039d316-1c4b-4281-b951-d872f2087c98
Revert 242275 "Revert 241610 "cros: Use OAUTH_TOKEN_STATUS_UNKNO..."

Reland 241610. Reverting it didn't help.

> Revert 241610 "cros: Use OAUTH_TOKEN_STATUS_UNKNOWN while loadin..."
> 
> Speculative. This bot has been red continuously since this build:
> http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%282%29/builds/10024
> 
> ...and this is one of the few cros-specific CLs on that build. I'll put it back
> in if the revert doesn't help.
> 
> > cros: Use OAUTH_TOKEN_STATUS_UNKNOWN while loading token from db.
> > 
> > "Invalid" token status has side effect and causes issue 328920.
> > "Unknown" status works with 328920 and still sends user to Gaia
> > if loading from db fails for issue 328065.
> > 
> > BUG=328065,328920
> > 
> > Review URL: https://codereview.chromium.org/117443002
> 
> TBR=xiyuan@chromium.org
> 
> Review URL: https://codereview.chromium.org/120433003

TBR=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242332 0039d316-1c4b-4281-b951-d872f2087c98
Reland r242290, r241609, r242134.

I had reverted them speculatively (in r242297, r242298, r242299) hoping
to fix a browser_tests issue on chromeos, but the reverts of these CLs didn't
help.

BUG=none
TBR=guohui@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242333 0039d316-1c4b-4281-b951-d872f2087c98
Revert 242310 "Revert 241611 "Changing all Get*UserProfileOrOffT..."

Reland 241611. Reverting it didn't help.

> Revert 241611 "Changing all Get*UserProfileOrOffTheRecord() to G..."
> 
> Speculative. This bot has been red continuously since this build:
> http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%28dbg%29%282%29/builds/10024
> 
> ...and this is a CL that looks somewhat related to DeviceLocalAccountTest.
> 
> > Changing all Get*UserProfileOrOffTheRecord() to Get*UserProfile() calls
> > 
> > BUG=322682
> > TEST=covered by existing unit tests
> > 
> > Review URL: https://codereview.chromium.org/108653010
> 
> TBR=skuhne@chromium.org
> 
> Review URL: https://codereview.chromium.org/120493003

TBR=thakis@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242334 0039d316-1c4b-4281-b951-d872f2087c98
Fix leading-underscore-filename error message on Windows.

BUG=329557

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242335 0039d316-1c4b-4281-b951-d872f2087c98
Cleanup: Move kFileSystemScheme constant into content namespace.

BUG=None
TEST=None
TBR=jam@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242336 0039d316-1c4b-4281-b951-d872f2087c98
Certificate Transparency: Threading the SCT IDs & Status list.
This is going to be used by the Signed Certificate Timestamps viewer,
which will be accessible from the website settings popup.

This change, by itself, does not add any new functionality but will
decrease the size of the next patch, the actual implementation for the
SCT viewer.

BUG=309578

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242337 0039d316-1c4b-4281-b951-d872f2087c98
Update the pageaction_by_url sample to use declarativeContent
and avoid the tabs permission.

BUG=330359

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242338 0039d316-1c4b-4281-b951-d872f2087c98
bookmarks: Refactor the code to remove a node from the url set.

Currently we are doing the same thing in two places, so instead of
duplicating the same code in two different places, refactor the code
into a new method that can be called by both places.

BUG=None
TEST=no regressions should be observed when playing with bookmarks.
R=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242339 0039d316-1c4b-4281-b951-d872f2087c98
Also tweaked flakey test util to be less flakey, and resilient to
modifiers being held down.

BUG=302437

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242340 0039d316-1c4b-4281-b951-d872f2087c98
Add a --quic-version flag to specify a specific version of QUIC to use.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242341 0039d316-1c4b-4281-b951-d872f2087c98
Gin: Spruce the README a bit.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242342 0039d316-1c4b-4281-b951-d872f2087c98
Fix custom buffer size support for WASAPI.

This allows any user buffer size which is an even divisor of
the endpoint buffer size.  I want this so I can play with
more buffer sizes on my home computer to try and address
glitching under load on Windows.

audio_parameters_are_valid_ wasn't really getting us anything
that we weren't already verifying during Open().

BUG=179058
TEST=compiles.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242343 0039d316-1c4b-4281-b951-d872f2087c98
Telemetry: Add total-fast-path time to timeline metric.

Nice overview of all our high-priority threads.

TBR=ernstm@chromium.org
BUG=321439

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242344 0039d316-1c4b-4281-b951-d872f2087c98
Make mojo_shell work on Mac OS X again

R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242345 0039d316-1c4b-4281-b951-d872f2087c98
Fix wide gap to the right of New Tab button when no caption buttons.

If there are no caption buttons (e.g., maximized window in Unity), or
the caption buttons are on the left, the New Tab button now has a small
5px gap to the right, instead of a wide 16px gap.

BUG=329749

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242346 0039d316-1c4b-4281-b951-d872f2087c98
Fixes in base for [P]NaCl port of remoting client

Various minor fixes in base needed for [P]NaCl port of remoting client:
  - added base_i18n_untrusted target
  - md5 is included in base_untrusted.
  - base/metrics is compiled in base_untrusted (src/net depends on it).
  - enabled PNaCl build of base_untrusted
  - __builtin_extract_return_addr() is not allowed in PNaCl (validator
    rejects it).
  - sys_byteorder.h now works in NaCl.

BUG=276739

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

R=brettw@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242347 0039d316-1c4b-4281-b951-d872f2087c98
Disable another policy test.

BUG=330454
TBR=skuhne@chromium.org,mnissler@chromium.org

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

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