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

Side by Side Diff: content/public/test/ppapi_test_utils.cc

Issue 1821103002: Migrate a bunch of LayoutTests from NPAPI to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_open-and-close-window-with-plugin
Patch Set: rebase Created 4 years, 9 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "content/public/test/ppapi_test_utils.h" 5 #include "content/public/test/ppapi_test_utils.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 FILE_PATH_LITERAL("#Blink Test Plugin#Interesting description.#0.8"); 113 FILE_PATH_LITERAL("#Blink Test Plugin#Interesting description.#0.8");
114 static const CharType kDeprecatedExtraParameters[] = 114 static const CharType kDeprecatedExtraParameters[] =
115 FILE_PATH_LITERAL("#Blink Deprecated Test Plugin#Description#0.1"); 115 FILE_PATH_LITERAL("#Blink Deprecated Test Plugin#Description#0.1");
116 116
117 std::vector<PluginInfo> plugins; 117 std::vector<PluginInfo> plugins;
118 plugins.push_back( 118 plugins.push_back(
119 PluginInfo(kPluginLibrary, kExtraParameters, 119 PluginInfo(kPluginLibrary, kExtraParameters,
120 FILE_PATH_LITERAL("application/x-blink-test-plugin"))); 120 FILE_PATH_LITERAL("application/x-blink-test-plugin")));
121 plugins.push_back(PluginInfo( 121 plugins.push_back(PluginInfo(
122 kDeprecatedPluginLibrary, kDeprecatedExtraParameters, 122 kDeprecatedPluginLibrary, kDeprecatedExtraParameters,
123 FILE_PATH_LITERAL("application/x-blink-deprecated-test-plugin"))); 123 FILE_PATH_LITERAL(
124 "application/x-blink-deprecated-test-plugin#blinktestplugin")));
124 return RegisterPlugins(command_line, plugins); 125 return RegisterPlugins(command_line, plugins);
125 } 126 }
126 127
127 } // namespace ppapi 128 } // namespace ppapi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698