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

Side by Side Diff: net/proxy/mojo_proxy_resolver_v8_tracing_bindings_unittest.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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/proxy/mojo_proxy_resolver_impl.cc ('k') | net/proxy/multi_threaded_proxy_resolver.h » ('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 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 "net/proxy/mojo_proxy_resolver_v8_tracing_bindings.h" 5 #include "net/proxy/mojo_proxy_resolver_v8_tracing_bindings.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h"
11 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 class MojoProxyResolverV8TracingBindingsTest : public testing::Test { 17 class MojoProxyResolverV8TracingBindingsTest : public testing::Test {
17 public: 18 public:
18 MojoProxyResolverV8TracingBindingsTest() = default; 19 MojoProxyResolverV8TracingBindingsTest() = default;
19 20
20 void SetUp() override { 21 void SetUp() override {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 EXPECT_FALSE(bindings_->GetBoundNetLog().net_log()); 53 EXPECT_FALSE(bindings_->GetBoundNetLog().net_log());
53 54
54 ASSERT_EQ(1u, alerts_.size()); 55 ASSERT_EQ(1u, alerts_.size());
55 EXPECT_EQ("alert", alerts_[0]); 56 EXPECT_EQ("alert", alerts_[0]);
56 ASSERT_EQ(1u, errors_.size()); 57 ASSERT_EQ(1u, errors_.size());
57 EXPECT_EQ(-1, errors_[0].first); 58 EXPECT_EQ(-1, errors_[0].first);
58 EXPECT_EQ("error", errors_[0].second); 59 EXPECT_EQ("error", errors_[0].second);
59 } 60 }
60 61
61 } // namespace net 62 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/mojo_proxy_resolver_impl.cc ('k') | net/proxy/multi_threaded_proxy_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698