Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: components/password_manager/content/renderer/credential_manager_client_browsertest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/password_manager/content/renderer/credential_manager_client .h" 5 #include "components/password_manager/content/renderer/credential_manager_client .h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <tuple> 10 #include <tuple>
11 #include <utility> 11 #include <utility>
12 12
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 15 #include "base/run_loop.h"
15 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
16 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
17 #include "content/public/renderer/render_frame.h" 18 #include "content/public/renderer/render_frame.h"
18 #include "content/public/renderer/render_view.h" 19 #include "content/public/renderer/render_view.h"
19 #include "content/public/test/render_view_test.h" 20 #include "content/public/test/render_view_test.h"
20 #include "mojo/public/cpp/bindings/binding_set.h" 21 #include "mojo/public/cpp/bindings/binding_set.h"
21 #include "services/service_manager/public/cpp/interface_provider.h" 22 #include "services/service_manager/public/cpp/interface_provider.h"
22 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
23 #include "third_party/WebKit/public/platform/WebCredential.h" 24 #include "third_party/WebKit/public/platform/WebCredential.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 244
244 EXPECT_FALSE(callback_succeeded()); 245 EXPECT_FALSE(callback_succeeded());
245 EXPECT_TRUE(callback_errored()); 246 EXPECT_TRUE(callback_errored());
246 EXPECT_FALSE(credential_); 247 EXPECT_FALSE(credential_);
247 EXPECT_EQ(blink::WebCredentialManagerError:: 248 EXPECT_EQ(blink::WebCredentialManagerError::
248 kWebCredentialManagerPasswordStoreUnavailableError, 249 kWebCredentialManagerPasswordStoreUnavailableError,
249 error_); 250 error_);
250 } 251 }
251 252
252 } // namespace password_manager 253 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698