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

Side by Side Diff: chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_unittest.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h" 5 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/message_loop/message_loop.h"
11 #include "base/test/histogram_tester.h" 12 #include "base/test/histogram_tester.h"
12 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h" 13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_conf ig_test_utils.h"
13 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test _utils.h" 14 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_test _utils.h"
14 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h" 15 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s.h"
15 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s_test_utils.h" 16 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_param s_test_utils.h"
16 #include "components/prefs/pref_registry_simple.h" 17 #include "components/prefs/pref_registry_simple.h"
17 #include "components/prefs/testing_pref_service.h" 18 #include "components/prefs/testing_pref_service.h"
18 #include "components/proxy_config/proxy_config_pref_names.h" 19 #include "components/proxy_config/proxy_config_pref_names.h"
19 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
20 21
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 EXPECT_EQ("fixed_servers", mode); 330 EXPECT_EQ("fixed_servers", mode);
330 std::string server; 331 std::string server;
331 EXPECT_TRUE(value->GetString("server", &server)); 332 EXPECT_TRUE(value->GetString("server", &server));
332 EXPECT_EQ(test_server, server); 333 EXPECT_EQ(test_server, server);
333 334
334 histogram_tester.ExpectUniqueSample( 335 histogram_tester.ExpectUniqueSample(
335 "DataReductionProxy.ProxyPrefMigrationResult", 336 "DataReductionProxy.ProxyPrefMigrationResult",
336 DataReductionProxyChromeSettings::PROXY_PREF_NOT_CLEARED, 1); 337 DataReductionProxyChromeSettings::PROXY_PREF_NOT_CLEARED, 1);
337 } 338 }
338 } 339 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698