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

Side by Side Diff: webkit/plugins/npapi/plugin_utils.h

Issue 10823434: [6] Moves CreateVersionFromString to plugin_utils and updates the callers. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added missing include <algorithm> Created 8 years, 3 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
« no previous file with comments | « webkit/plugins/npapi/plugin_group_unittest.cc ('k') | webkit/plugins/npapi/plugin_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_
6 #define WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_
7
8 #include "base/string16.h"
9 #include "webkit/plugins/webkit_plugins_export.h"
10
11 class Version;
12
13 namespace webkit {
14 namespace npapi {
15
16 // Parse a version string as used by a plug-in. This method is more lenient
17 // in accepting weird version strings than Version::GetFromString()
18 WEBKIT_PLUGINS_EXPORT void CreateVersionFromString(
19 const string16& version_string,
20 Version* parsed_version);
21
22 } // namespace npapi
23 } // namespace webkit
24
25 #endif // WEBKIT_PLUGINS_NPAPI_PLUGIN_UTILS_H_
OLDNEW
« no previous file with comments | « webkit/plugins/npapi/plugin_group_unittest.cc ('k') | webkit/plugins/npapi/plugin_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698