Chromium Code Reviews

Side by Side Diff: chrome/renderer/pepper_devices_unittest.cc

Issue 3058027: Add #include utf_string_conversions.h to all files that use ASCIIToWide and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
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 <map> 5 #include <map>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h"
9 #include "build/build_config.h" 10 #include "build/build_config.h"
10 #include "chrome/common/render_messages.h" 11 #include "chrome/common/render_messages.h"
11 #include "chrome/renderer/pepper_devices.h" 12 #include "chrome/renderer/pepper_devices.h"
12 #include "chrome/renderer/webplugin_delegate_pepper.h" 13 #include "chrome/renderer/webplugin_delegate_pepper.h"
13 #include "chrome/test/render_view_test.h" 14 #include "chrome/test/render_view_test.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 #include "third_party/npapi/bindings/npapi.h" 16 #include "third_party/npapi/bindings/npapi.h"
16 #include "third_party/npapi/bindings/npruntime.h" 17 #include "third_party/npapi/bindings/npruntime.h"
17 #include "third_party/WebKit/WebKit/chromium/public/WebPlugin.h" 18 #include "third_party/WebKit/WebKit/chromium/public/WebPlugin.h"
18 #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h" 19 #include "third_party/WebKit/WebKit/chromium/public/WebPluginParams.h"
(...skipping 251 matching lines...)
270 EXPECT_EQ(NPERR_NO_ERROR, 271 EXPECT_EQ(NPERR_NO_ERROR,
271 pepper_plugin()->DeviceAudioInitializeContext(&config, &context)); 272 pepper_plugin()->DeviceAudioInitializeContext(&config, &context));
272 EXPECT_TRUE(render_thread_.sink().GetFirstMessageMatching( 273 EXPECT_TRUE(render_thread_.sink().GetFirstMessageMatching(
273 ViewHostMsg_CreateAudioStream::ID)); 274 ViewHostMsg_CreateAudioStream::ID));
274 EXPECT_EQ(NPERR_NO_ERROR, 275 EXPECT_EQ(NPERR_NO_ERROR,
275 pepper_plugin()->DeviceAudioDestroyContext(&context)); 276 pepper_plugin()->DeviceAudioDestroyContext(&context));
276 EXPECT_TRUE(render_thread_.sink().GetFirstMessageMatching( 277 EXPECT_TRUE(render_thread_.sink().GetFirstMessageMatching(
277 ViewHostMsg_CloseAudioStream::ID)); 278 ViewHostMsg_CloseAudioStream::ID));
278 } 279 }
279 280
OLDNEW
« no previous file with comments | « chrome/renderer/password_autocomplete_manager_unittest.cc ('k') | chrome/renderer/render_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine