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

Side by Side Diff: chrome/browser/chrome_plugin_unittest.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chrome_plugin_host.cc ('k') | chrome/browser/chromeos/dom_ui/imageburner_ui.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Tests exercising the Chrome Plugin API. 4 // Tests exercising the Chrome Plugin API.
5 5
6 #include "base/file_util.h" 6 #include "base/file_util.h"
7 #include "base/message_loop_proxy.h" 7 #include "base/message_loop_proxy.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "chrome/browser/browser_thread.h" 10 #include "chrome/browser/browser_thread.h"
11 #include "chrome/browser/chrome_plugin_host.h" 11 #include "chrome/browser/chrome_plugin_host.h"
12 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/common/chrome_plugin_lib.h" 13 #include "chrome/common/chrome_plugin_lib.h"
14 #include "chrome/common/net/url_request_context_getter.h" 14 #include "chrome/common/net/url_request_context_getter.h"
15 #include "chrome/test/chrome_plugin/test_chrome_plugin.h" 15 #include "chrome/test/chrome_plugin/test_chrome_plugin.h"
16 #include "net/base/io_buffer.h" 16 #include "net/base/io_buffer.h"
17 #include "net/http/http_response_headers.h" 17 #include "net/http/http_response_headers.h"
18 #include "net/url_request/url_request_test_job.h" 18 #include "net/url_request/url_request_test_job.h"
19 #include "net/url_request/url_request_unittest.h" 19 #include "net/url_request/url_request_unittest.h"
20 #include "net/test/test_server.h" 20 #include "net/test/test_server.h"
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 22
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 TEST_F(ChromePluginTest, DoesNotInterceptOwnRequest) { 300 TEST_F(ChromePluginTest, DoesNotInterceptOwnRequest) {
301 const TestResponsePayload& payload = kChromeTestPluginPayloads[0]; 301 const TestResponsePayload& payload = kChromeTestPluginPayloads[0];
302 302
303 EXPECT_EQ(CPERR_SUCCESS, test_funcs_.test_make_request( 303 EXPECT_EQ(CPERR_SUCCESS, test_funcs_.test_make_request(
304 "GET", GURL(payload.url))); 304 "GET", GURL(payload.url)));
305 305
306 MessageLoop::current()->Run(); 306 MessageLoop::current()->Run();
307 } 307 }
308 308
309 } // namespace 309 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/chrome_plugin_host.cc ('k') | chrome/browser/chromeos/dom_ui/imageburner_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698