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

Side by Side Diff: base/vlog.h

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 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 | « base/version_unittest.cc ('k') | base/vlog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef BASE_VLOG_H_ 5 #ifndef BASE_VLOG_H_
6 #define BASE_VLOG_H_ 6 #define BASE_VLOG_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/base_export.h" 11 #include "base/base_export.h"
12 #include "base/basictypes.h" 12 #include "base/macros.h"
13 #include "base/strings/string_piece.h" 13 #include "base/strings/string_piece.h"
14 14
15 namespace logging { 15 namespace logging {
16 16
17 // A helper class containing all the settings for vlogging. 17 // A helper class containing all the settings for vlogging.
18 class BASE_EXPORT VlogInfo { 18 class BASE_EXPORT VlogInfo {
19 public: 19 public:
20 static const int kDefaultVlogLevel; 20 static const int kDefaultVlogLevel;
21 21
22 // |v_switch| gives the default maximal active V-logging level; 0 is 22 // |v_switch| gives the default maximal active V-logging level; 0 is
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // "kh?n" matches "khan" but not "khn" or "khaan" 68 // "kh?n" matches "khan" but not "khn" or "khaan"
69 // "kh*n" matches "khn", "khan", or even "khaaaaan" 69 // "kh*n" matches "khn", "khan", or even "khaaaaan"
70 // "/foo\bar" matches "/foo/bar", "\foo\bar", or "/foo\bar" 70 // "/foo\bar" matches "/foo/bar", "\foo\bar", or "/foo\bar"
71 // (disregarding C escaping rules) 71 // (disregarding C escaping rules)
72 BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string, 72 BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string,
73 const base::StringPiece& vlog_pattern); 73 const base::StringPiece& vlog_pattern);
74 74
75 } // namespace logging 75 } // namespace logging
76 76
77 #endif // BASE_VLOG_H_ 77 #endif // BASE_VLOG_H_
OLDNEW
« no previous file with comments | « base/version_unittest.cc ('k') | base/vlog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698