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

Side by Side Diff: net/cookies/cookie_monster_unittest.cc

Issue 1969043002: Fix include path for moved thread_task_runner_handle.h header in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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
« no previous file with comments | « net/cookies/cookie_monster_store_test.cc ('k') | net/cookies/cookie_store_test_helpers.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "net/cookies/cookie_monster.h" 5 #include "net/cookies/cookie_monster.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
18 #include "base/metrics/histogram_samples.h" 18 #include "base/metrics/histogram_samples.h"
19 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
20 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/string_piece.h" 21 #include "base/strings/string_piece.h"
22 #include "base/strings/string_split.h" 22 #include "base/strings/string_split.h"
23 #include "base/strings/string_tokenizer.h" 23 #include "base/strings/string_tokenizer.h"
24 #include "base/strings/stringprintf.h" 24 #include "base/strings/stringprintf.h"
25 #include "base/test/histogram_tester.h" 25 #include "base/test/histogram_tester.h"
26 #include "base/thread_task_runner_handle.h"
27 #include "base/threading/thread.h" 26 #include "base/threading/thread.h"
27 #include "base/threading/thread_task_runner_handle.h"
28 #include "base/time/time.h" 28 #include "base/time/time.h"
29 #include "net/cookies/canonical_cookie.h" 29 #include "net/cookies/canonical_cookie.h"
30 #include "net/cookies/cookie_constants.h" 30 #include "net/cookies/cookie_constants.h"
31 #include "net/cookies/cookie_monster_store_test.h" // For CookieStore mock 31 #include "net/cookies/cookie_monster_store_test.h" // For CookieStore mock
32 #include "net/cookies/cookie_store_unittest.h" 32 #include "net/cookies/cookie_store_unittest.h"
33 #include "net/cookies/cookie_util.h" 33 #include "net/cookies/cookie_util.h"
34 #include "net/cookies/parsed_cookie.h" 34 #include "net/cookies/parsed_cookie.h"
35 #include "testing/gmock/include/gmock/gmock.h" 35 #include "testing/gmock/include/gmock/gmock.h"
36 #include "testing/gtest/include/gtest/gtest.h" 36 #include "testing/gtest/include/gtest/gtest.h"
37 #include "url/gurl.h" 37 #include "url/gurl.h"
(...skipping 3409 matching lines...) Expand 10 before | Expand all | Expand 10 after
3447 monster()->AddCallbackForCookie( 3447 monster()->AddCallbackForCookie(
3448 test_url_, "abc", 3448 test_url_, "abc",
3449 base::Bind(&RecordCookieChanges, &cookies1, nullptr))); 3449 base::Bind(&RecordCookieChanges, &cookies1, nullptr)));
3450 SetCookie(monster(), test_url_, "abc=def"); 3450 SetCookie(monster(), test_url_, "abc=def");
3451 base::MessageLoop::current()->RunUntilIdle(); 3451 base::MessageLoop::current()->RunUntilIdle();
3452 EXPECT_EQ(1U, cookies0.size()); 3452 EXPECT_EQ(1U, cookies0.size());
3453 EXPECT_EQ(1U, cookies0.size()); 3453 EXPECT_EQ(1U, cookies0.size());
3454 } 3454 }
3455 3455
3456 } // namespace net 3456 } // namespace net
OLDNEW
« no previous file with comments | « net/cookies/cookie_monster_store_test.cc ('k') | net/cookies/cookie_store_test_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698