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

Side by Side Diff: base/vlog.h

Issue 13374002: base: Update the include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « base/utf_string_conversions_unittest.cc ('k') | no next file » | 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 <cstddef> 8 #include <cstddef>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/base_export.h" 12 #include "base/base_export.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/string_piece.h" 14 #include "base/strings/string_piece.h"
15 15
16 namespace logging { 16 namespace logging {
17 17
18 // A helper class containing all the settings for vlogging. 18 // A helper class containing all the settings for vlogging.
19 class BASE_EXPORT VlogInfo { 19 class BASE_EXPORT VlogInfo {
20 public: 20 public:
21 static const int kDefaultVlogLevel; 21 static const int kDefaultVlogLevel;
22 22
23 // |v_switch| gives the default maximal active V-logging level; 0 is 23 // |v_switch| gives the default maximal active V-logging level; 0 is
24 // the default. Normally positive values are used for V-logging 24 // the default. Normally positive values are used for V-logging
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // "kh?n" matches "khan" but not "khn" or "khaan" 69 // "kh?n" matches "khan" but not "khn" or "khaan"
70 // "kh*n" matches "khn", "khan", or even "khaaaaan" 70 // "kh*n" matches "khn", "khan", or even "khaaaaan"
71 // "/foo\bar" matches "/foo/bar", "\foo\bar", or "/foo\bar" 71 // "/foo\bar" matches "/foo/bar", "\foo\bar", or "/foo\bar"
72 // (disregarding C escaping rules) 72 // (disregarding C escaping rules)
73 BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string, 73 BASE_EXPORT bool MatchVlogPattern(const base::StringPiece& string,
74 const base::StringPiece& vlog_pattern); 74 const base::StringPiece& vlog_pattern);
75 75
76 } // namespace logging 76 } // namespace logging
77 77
78 #endif // BASE_VLOG_H_ 78 #endif // BASE_VLOG_H_
OLDNEW
« no previous file with comments | « base/utf_string_conversions_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698