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

Side by Side Diff: chrome/browser/net/sdch_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 // End-to-end SDCH tests. Uses the embedded test server to return SDCH 5 // End-to-end SDCH tests. Uses the embedded test server to return SDCH
6 // results 6 // results
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/base64.h" 12 #include "base/base64.h"
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "base/files/scoped_temp_dir.h" 16 #include "base/files/scoped_temp_dir.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/message_loop/message_loop.h"
18 #include "base/path_service.h" 19 #include "base/path_service.h"
19 #include "base/run_loop.h" 20 #include "base/run_loop.h"
20 #include "base/strings/string_tokenizer.h" 21 #include "base/strings/string_tokenizer.h"
21 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
22 #include "base/strings/stringprintf.h" 23 #include "base/strings/stringprintf.h"
23 #include "build/build_config.h" 24 #include "build/build_config.h"
24 #include "chrome/browser/browser_process.h" 25 #include "chrome/browser/browser_process.h"
25 #include "chrome/browser/browsing_data/browsing_data_helper.h" 26 #include "chrome/browser/browsing_data/browsing_data_helper.h"
26 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h" 27 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h"
27 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 ASSERT_TRUE(SetupIncognitoBrowser()); 752 ASSERT_TRUE(SetupIncognitoBrowser());
752 ASSERT_TRUE(ForceSdchDictionaryLoad(incognito_browser())); 753 ASSERT_TRUE(ForceSdchDictionaryLoad(incognito_browser()));
753 754
754 // Data fetches on main browser should not be SDCH encoded. 755 // Data fetches on main browser should not be SDCH encoded.
755 bool sdch_encoding_used = true; 756 bool sdch_encoding_used = true;
756 ASSERT_TRUE(GetData(&sdch_encoding_used)); 757 ASSERT_TRUE(GetData(&sdch_encoding_used));
757 EXPECT_FALSE(sdch_encoding_used); 758 EXPECT_FALSE(sdch_encoding_used);
758 } 759 }
759 760
760 } // namespace 761 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698