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

Side by Side Diff: chrome/browser/net/url_fetcher_unittest.cc

Issue 18305: Move url_* to net subdir (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 11 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/browser/net/url_fetcher_protect.cc ('k') | chrome/browser/net/url_fixer_upper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
Merged /branches/chrome_webkit_merge_branch/chrome/browser/url_fetcher_unittest.cc:r69-2775
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 4
5 #include "base/thread.h" 5 #include "base/thread.h"
6 #include "base/time.h" 6 #include "base/time.h"
7 #include "chrome/browser/url_fetcher.h" 7 #include "chrome/browser/net/url_fetcher.h"
8 #include "chrome/browser/url_fetcher_protect.h" 8 #include "chrome/browser/net/url_fetcher_protect.h"
9 #if defined(OS_LINUX) 9 #if defined(OS_LINUX)
10 // TODO(port): ugly hack for linux 10 // TODO(port): ugly hack for linux
11 namespace ChromePluginLib { 11 namespace ChromePluginLib {
12 void UnloadAllPlugins() {} 12 void UnloadAllPlugins() {}
13 } 13 }
14 #else 14 #else
15 #include "chrome/common/chrome_plugin_lib.h" 15 #include "chrome/common/chrome_plugin_lib.h"
16 #endif 16 #endif
17 #include "net/base/ssl_test_util.h" 17 #include "net/base/ssl_test_util.h"
18 #include "net/url_request/url_request_unittest.h" 18 #include "net/url_request/url_request_unittest.h"
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 // (main) thread will do the IO, and when the fetch is complete it will 470 // (main) thread will do the IO, and when the fetch is complete it will
471 // terminate the main thread's message loop; then the other thread's 471 // terminate the main thread's message loop; then the other thread's
472 // message loop will be shut down automatically as the thread goes out of 472 // message loop will be shut down automatically as the thread goes out of
473 // scope. 473 // scope.
474 base::Thread t("URLFetcher test thread"); 474 base::Thread t("URLFetcher test thread");
475 t.Start(); 475 t.Start();
476 t.message_loop()->PostTask(FROM_HERE, new FetcherWrapperTask(this, url)); 476 t.message_loop()->PostTask(FROM_HERE, new FetcherWrapperTask(this, url));
477 477
478 MessageLoop::current()->Run(); 478 MessageLoop::current()->Run();
479 } 479 }
OLDNEW
« no previous file with comments | « chrome/browser/net/url_fetcher_protect.cc ('k') | chrome/browser/net/url_fixer_upper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698