| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stddef.h> | 5 #include <stddef.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <queue> | 10 #include <queue> |
| 11 #include <tuple> | 11 #include <tuple> |
| 12 | 12 |
| 13 #include "base/bind.h" | 13 #include "base/bind.h" |
| 14 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
| 15 #include "base/callback.h" | 15 #include "base/callback.h" |
| 16 #include "base/files/file_path.h" | 16 #include "base/files/file_path.h" |
| 17 #include "base/json/json_reader.h" | 17 #include "base/json/json_reader.h" |
| 18 #include "base/json/json_string_value_serializer.h" | 18 #include "base/json/json_string_value_serializer.h" |
| 19 #include "base/macros.h" | 19 #include "base/macros.h" |
| 20 #include "base/memory/ptr_util.h" | 20 #include "base/memory/ptr_util.h" |
| 21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
| 22 #include "base/run_loop.h" | 22 #include "base/run_loop.h" |
| 23 #include "base/single_thread_task_runner.h" |
| 23 #include "base/stl_util.h" | 24 #include "base/stl_util.h" |
| 24 #include "base/strings/string_piece.h" | 25 #include "base/strings/string_piece.h" |
| 25 #include "base/strings/string_split.h" | 26 #include "base/strings/string_split.h" |
| 26 #include "base/strings/stringprintf.h" | 27 #include "base/strings/stringprintf.h" |
| 27 #include "base/strings/utf_string_conversions.h" | 28 #include "base/strings/utf_string_conversions.h" |
| 28 #include "base/threading/thread_task_runner_handle.h" | 29 #include "base/threading/thread_task_runner_handle.h" |
| 29 #include "base/time/time.h" | 30 #include "base/time/time.h" |
| 30 #include "base/values.h" | 31 #include "base/values.h" |
| 31 #include "chrome/browser/content_settings/cookie_settings_factory.h" | 32 #include "chrome/browser/content_settings/cookie_settings_factory.h" |
| 32 #include "chrome/browser/extensions/event_router_forwarder.h" | 33 #include "chrome/browser/extensions/event_router_forwarder.h" |
| (...skipping 2448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2481 EXPECT_TRUE(credentials_set); | 2482 EXPECT_TRUE(credentials_set); |
| 2482 EXPECT_FALSE(auth3.Empty()); | 2483 EXPECT_FALSE(auth3.Empty()); |
| 2483 EXPECT_EQ(username, auth1.username()); | 2484 EXPECT_EQ(username, auth1.username()); |
| 2484 EXPECT_EQ(password, auth1.password()); | 2485 EXPECT_EQ(password, auth1.password()); |
| 2485 EXPECT_EQ(1u, warning_set.size()); | 2486 EXPECT_EQ(1u, warning_set.size()); |
| 2486 EXPECT_TRUE(HasWarning(warning_set, "extid2")); | 2487 EXPECT_TRUE(HasWarning(warning_set, "extid2")); |
| 2487 EXPECT_EQ(3u, capturing_net_log.GetSize()); | 2488 EXPECT_EQ(3u, capturing_net_log.GetSize()); |
| 2488 } | 2489 } |
| 2489 | 2490 |
| 2490 } // namespace extensions | 2491 } // namespace extensions |
| OLD | NEW |