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

Side by Side Diff: chrome/browser/chromeos/gview_request_interceptor_unittest.cc

Issue 8803026: Fix chrome os build breake (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « no previous file | no next file » | 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 <string> 5 #include <string>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/at_exit.h" 8 #include "base/at_exit.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/chrome_plugin_service_filter.h" 10 #include "chrome/browser/chrome_plugin_service_filter.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 false, // is_main_frame 173 false, // is_main_frame
174 -1, // frame_id 174 -1, // frame_id
175 false, // parent_is_main_frame 175 false, // parent_is_main_frame
176 -1, // parent_frame_id 176 -1, // parent_frame_id
177 ResourceType::MAIN_FRAME, 177 ResourceType::MAIN_FRAME,
178 content::PAGE_TRANSITION_LINK, 178 content::PAGE_TRANSITION_LINK,
179 0, // upload_size 179 0, // upload_size
180 false, // is_download 180 false, // is_download
181 true, // allow_download 181 true, // allow_download
182 false, // has_user_gesture 182 false, // has_user_gesture
183 WebKit::WebReferrerPolicyDefault,
183 context); 184 context);
184 request->SetUserData(NULL, info); 185 request->SetUserData(NULL, info);
185 request->set_context(context->request_context()); 186 request->set_context(context->request_context());
186 } 187 }
187 188
188 protected: 189 protected:
189 base::ShadowingAtExitManager at_exit_manager_; // Deletes PluginService. 190 base::ShadowingAtExitManager at_exit_manager_; // Deletes PluginService.
190 MessageLoopForIO message_loop_; 191 MessageLoopForIO message_loop_;
191 content::TestBrowserThread ui_thread_; 192 content::TestBrowserThread ui_thread_;
192 content::TestBrowserThread file_thread_; 193 content::TestBrowserThread file_thread_;
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 SetupRequest(&request); 289 SetupRequest(&request);
289 request.Start(); 290 request.Start();
290 MessageLoop::current()->Run(); 291 MessageLoop::current()->Run();
291 EXPECT_EQ(0, test_delegate_.received_redirect_count()); 292 EXPECT_EQ(0, test_delegate_.received_redirect_count());
292 EXPECT_EQ(GURL(kPdfBlob), request.url()); 293 EXPECT_EQ(GURL(kPdfBlob), request.url());
293 } 294 }
294 295
295 } // namespace 296 } // namespace
296 297
297 } // namespace chromeos 298 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698