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

Side by Side Diff: chrome/common/resource_dispatcher_unittest.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 years, 3 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
« no previous file with comments | « chrome/common/resource_dispatcher.cc ('k') | chrome/common/utility_messages.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/process.h" 9 #include "base/process.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
13 #include "chrome/common/render_messages_params.h"
13 #include "chrome/common/resource_dispatcher.h" 14 #include "chrome/common/resource_dispatcher.h"
15 #include "net/base/upload_data.h"
14 #include "net/http/http_response_headers.h" 16 #include "net/http/http_response_headers.h"
15 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
16 #include "webkit/appcache/appcache_interfaces.h" 18 #include "webkit/appcache/appcache_interfaces.h"
17 19
18 using webkit_glue::ResourceLoaderBridge; 20 using webkit_glue::ResourceLoaderBridge;
19 21
20 static const char test_page_url[] = "http://www.google.com/"; 22 static const char test_page_url[] = "http://www.google.com/";
21 static const char test_page_headers[] = 23 static const char test_page_headers[] =
22 "HTTP/1.1 200 OK\nContent-Type:text/html\n\n"; 24 "HTTP/1.1 200 OK\nContent-Type:text/html\n\n";
23 static const char test_page_mime_type[] = "text/html"; 25 static const char test_page_mime_type[] = "text/html";
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ResourceLoaderBridge* bridge = CreateBridge(); 325 ResourceLoaderBridge* bridge = CreateBridge();
324 326
325 bridge->Start(this); 327 bridge->Start(this);
326 InitMessages(); 328 InitMessages();
327 329
328 // Dispatch deferred messages. 330 // Dispatch deferred messages.
329 message_loop.RunAllPending(); 331 message_loop.RunAllPending();
330 delete bridge; 332 delete bridge;
331 } 333 }
332 334
OLDNEW
« no previous file with comments | « chrome/common/resource_dispatcher.cc ('k') | chrome/common/utility_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698