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

Side by Side Diff: content/browser/renderer_host/render_view_host_unittest.cc

Issue 16408017: Use a direct include of utf_string_conversions.h in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/path_service.h" 5 #include "base/path_service.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "content/browser/child_process_security_policy_impl.h" 7 #include "content/browser/child_process_security_policy_impl.h"
8 #include "content/browser/renderer_host/test_render_view_host.h" 8 #include "content/browser/renderer_host/test_render_view_host.h"
9 #include "content/browser/web_contents/navigation_controller_impl.h" 9 #include "content/browser/web_contents/navigation_controller_impl.h"
10 #include "content/common/input_messages.h" 10 #include "content/common/input_messages.h"
11 #include "content/common/view_messages.h" 11 #include "content/common/view_messages.h"
12 #include "content/port/browser/render_view_host_delegate_view.h" 12 #include "content/port/browser/render_view_host_delegate_view.h"
13 #include "content/public/browser/navigation_entry.h" 13 #include "content/public/browser/navigation_entry.h"
14 #include "content/public/common/bindings_policy.h" 14 #include "content/public/common/bindings_policy.h"
15 #include "content/public/common/page_transition_types.h" 15 #include "content/public/common/page_transition_types.h"
16 #include "content/public/common/url_constants.h" 16 #include "content/public/common/url_constants.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 process()->GetID(), file_path, 293 process()->GetID(), file_path,
294 base::PLATFORM_FILE_OPEN | 294 base::PLATFORM_FILE_OPEN |
295 base::PLATFORM_FILE_READ | 295 base::PLATFORM_FILE_READ |
296 base::PLATFORM_FILE_EXCLUSIVE_READ | 296 base::PLATFORM_FILE_EXCLUSIVE_READ |
297 base::PLATFORM_FILE_ASYNC); 297 base::PLATFORM_FILE_ASYNC);
298 test_rvh()->SendNavigateWithFile(process()->GetID(), url, file_path); 298 test_rvh()->SendNavigateWithFile(process()->GetID(), url, file_path);
299 EXPECT_EQ(1, process()->bad_msg_count()); 299 EXPECT_EQ(1, process()->bad_msg_count());
300 } 300 }
301 301
302 } // namespace content 302 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698