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

Unified Diff: webkit/plugins/webplugininfo_unittest.cc

Issue 19844003: Remove webkit/plugins/npapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove GetDefaultWindowParent Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« content/common/plugin_constants_win.h ('K') | « webkit/plugins/webplugininfo.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/webplugininfo_unittest.cc
===================================================================
--- webkit/plugins/webplugininfo_unittest.cc (revision 212595)
+++ webkit/plugins/webplugininfo_unittest.cc (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/plugins/npapi/plugin_utils.h"
+#include "webkit/plugins/webplugininfo.h"
#include <string>
#include <vector>
@@ -13,7 +13,6 @@
#include "testing/gtest/include/gtest/gtest.h"
namespace webkit {
-namespace npapi {
TEST(PluginUtilsTest, VersionExtraction) {
// Some real-world plugin versions (spaces, commata, parentheses, 'r', oh my)
@@ -33,12 +32,12 @@
for (size_t i = 0; i < arraysize(versions); i++) {
Version version;
- CreateVersionFromString(ASCIIToUTF16(versions[i][0]), &version);
+ WebPluginInfo::CreateVersionFromString(
+ ASCIIToUTF16(versions[i][0]), &version);
ASSERT_TRUE(version.IsValid());
EXPECT_EQ(versions[i][1], version.GetString());
}
}
-} // namespace npapi
} // namespace webkit
« content/common/plugin_constants_win.h ('K') | « webkit/plugins/webplugininfo.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698