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

Side by Side Diff: webrtc/base/versionparsing.h

Issue 2373003002: Delete unused file versionparsing.h. (Closed)
Patch Set: Rebased. Created 4 years, 2 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 | « webrtc/base/base.gyp ('k') | webrtc/base/versionparsing.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 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_BASE_VERSIONPARSING_H_
12 #define WEBRTC_BASE_VERSIONPARSING_H_
13
14 #include <string>
15
16 namespace rtc {
17
18 // Parses a version string into an array. "num_expected_segments" must be the
19 // number of numerical segments that the version is expected to have (e.g.,
20 // "1.1.2.0" has 4). "version" must be an array of that length to hold the
21 // parsed numbers.
22 // Returns "true" iff successful.
23 bool ParseVersionString(const std::string& version_str,
24 int num_expected_segments,
25 int version[]);
26
27 // Computes the lexicographical order of two versions. The return value
28 // indicates the order in the standard way (e.g., see strcmp()).
29 int CompareVersions(const int version1[],
30 const int version2[],
31 int num_segments);
32
33 } // namespace rtc
34
35 #endif // WEBRTC_BASE_VERSIONPARSING_H_
OLDNEW
« no previous file with comments | « webrtc/base/base.gyp ('k') | webrtc/base/versionparsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698