Clean up app list webstore_provider_browsertest.
commita44e9ca99fb9450a40d015723d23625fd3dff218
authormgiuca <mgiuca@chromium.org>
Tue, 12 May 2015 02:24:46 +0000 (11 19:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 12 May 2015 02:25:07 +0000 (12 02:25 +0000)
treeb975dd472ae8f47decf5e2c8ee3998468767634e
parentb716b0b767fb1ad3c4c40f45374a33fe2ddf3d01
Clean up app list webstore_provider_browsertest.

Record whether a query is pending and use it to decide when to wait
(previously, it would wait if ANY previous query was ever pending, which
"just happened" to work for the specific test cases).

Changed some ASSERT into EXPECT.

Use more descriptive special strings for HTTP errors, rather than the
exact same string as the query, which is confusing.

Document the test cases properly.

Reformat the source according to ClangFormat.

BUG=481837

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

Cr-Commit-Position: refs/heads/master@{#329327}
chrome/browser/ui/app_list/search/webstore/webstore_provider.cc
chrome/browser/ui/app_list/search/webstore/webstore_provider.h
chrome/browser/ui/app_list/search/webstore/webstore_provider_browsertest.cc