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

Side by Side Diff: content/browser/resolve_proxy_msg_helper_unittest.cc

Issue 7036025: Get rid of chrome dependencies from PluginProcessHost by moving dispatching of chrome specific me... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/resolve_proxy_msg_helper.cc ('k') | content/common/plugin_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/resolve_proxy_msg_helper.h" 5 #include "content/browser/resolve_proxy_msg_helper.h"
6 6
7 #include "content/common/child_process_messages.h" 7 #include "content/common/child_process_messages.h"
8 #include "ipc/ipc_test_sink.h" 8 #include "ipc/ipc_test_sink.h"
9 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
10 #include "net/proxy/mock_proxy_resolver.h" 10 #include "net/proxy/mock_proxy_resolver.h"
11 #include "net/proxy/proxy_config_service.h" 11 #include "net/proxy/proxy_config_service.h"
12 #include "net/proxy/proxy_service.h" 12 #include "net/proxy/proxy_service.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 14
15 // This ProxyConfigService always returns "http://pac" as the PAC url to use. 15 // This ProxyConfigService always returns "http://pac" as the PAC url to use.
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 // The pending requests sent to the proxy resolver should have been cancelled. 228 // The pending requests sent to the proxy resolver should have been cancelled.
229 229
230 EXPECT_EQ(0u, resolver_->pending_requests().size()); 230 EXPECT_EQ(0u, resolver_->pending_requests().size());
231 231
232 EXPECT_TRUE(pending_result() == NULL); 232 EXPECT_TRUE(pending_result() == NULL);
233 233
234 // It should also be the case that msg1, msg2, msg3 were deleted by the 234 // It should also be the case that msg1, msg2, msg3 were deleted by the
235 // cancellation. (Else will show up as a leak in Purify/Valgrind). 235 // cancellation. (Else will show up as a leak in Purify/Valgrind).
236 } 236 }
OLDNEW
« no previous file with comments | « content/browser/resolve_proxy_msg_helper.cc ('k') | content/common/plugin_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698