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

Side by Side Diff: chrome/common/net/net_error_tracker_unittest.cc

Issue 19777002: Revert 211950 "Display DNS probe results." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1568/src/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/net/net_error_tracker.cc ('k') | chrome/common/render_messages.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/common/net/net_error_tracker.h" 5 #include "chrome/common/net/net_error_tracker.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace { 9 namespace {
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 tracker_.OnStartProvisionalLoad(FRAME_SUB, PAGE_NORMAL); 89 tracker_.OnStartProvisionalLoad(FRAME_SUB, PAGE_NORMAL);
90 tracker_.OnFailProvisionalLoad(FRAME_SUB, ERROR_DNS); 90 tracker_.OnFailProvisionalLoad(FRAME_SUB, ERROR_DNS);
91 tracker_.OnStartProvisionalLoad(FRAME_SUB, PAGE_ERROR); 91 tracker_.OnStartProvisionalLoad(FRAME_SUB, PAGE_ERROR);
92 tracker_.OnCommitProvisionalLoad(FRAME_SUB); 92 tracker_.OnCommitProvisionalLoad(FRAME_SUB);
93 tracker_.OnFinishLoad(FRAME_SUB); 93 tracker_.OnFinishLoad(FRAME_SUB);
94 EXPECT_EQ(0, callback_count_); 94 EXPECT_EQ(0, callback_count_);
95 EXPECT_EQ(NetErrorTracker::DNS_ERROR_PAGE_NONE, callback_state_); 95 EXPECT_EQ(NetErrorTracker::DNS_ERROR_PAGE_NONE, callback_state_);
96 } 96 }
97 97
98 } // namespace 98 } // namespace
OLDNEW
« no previous file with comments | « chrome/common/net/net_error_tracker.cc ('k') | chrome/common/render_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698