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

Side by Side Diff: components/proximity_auth/logging/logging.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 11 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_PROXIMITY_AUTH_LOGGING_LOGGING_H 5 #ifndef COMPONENTS_PROXIMITY_AUTH_LOGGING_LOGGING_H
6 #define COMPONENTS_PROXIMITY_AUTH_LOGGING_LOGGING_H 6 #define COMPONENTS_PROXIMITY_AUTH_LOGGING_LOGGING_H
7 7
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h"
11 12
12 namespace proximity_auth { 13 namespace proximity_auth {
13 14
14 // Use the PA_LOG() macro for all logging related to Proximity Auth, so the 15 // Use the PA_LOG() macro for all logging related to Proximity Auth, so the
15 // system is aware of all logs related to this feature. We display these logs in 16 // system is aware of all logs related to this feature. We display these logs in
16 // the debug WebUI (chrome://proximity-auth). 17 // the debug WebUI (chrome://proximity-auth).
17 // 18 //
18 // PA_LOG() has the same interface as the standard LOG() macro and also creates 19 // PA_LOG() has the same interface as the standard LOG() macro and also creates
19 // a normal log message of the same severity. 20 // a normal log message of the same severity.
20 // Examples: 21 // Examples:
(...skipping 28 matching lines...) Expand all
49 int line_; 50 int line_;
50 logging::LogSeverity severity_; 51 logging::LogSeverity severity_;
51 std::ostringstream stream_; 52 std::ostringstream stream_;
52 53
53 DISALLOW_COPY_AND_ASSIGN(ScopedLogMessage); 54 DISALLOW_COPY_AND_ASSIGN(ScopedLogMessage);
54 }; 55 };
55 56
56 } // namespace proximity_auth 57 } // namespace proximity_auth
57 58
58 #endif // COMPONENTS_PROXIMITY_AUTH_LOGGING_LOGGING_H 59 #endif // COMPONENTS_PROXIMITY_AUTH_LOGGING_LOGGING_H
OLDNEW
« no previous file with comments | « components/proximity_auth/logging/log_buffer.h ('k') | components/proximity_auth/logging/logging_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698