Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_LOGGING_H_ | 5 #ifndef BASE_LOGGING_H_ |
| 6 #define BASE_LOGGING_H_ | 6 #define BASE_LOGGING_H_ |
| 7 | 7 |
| 8 #include <cassert> | 8 #include <cassert> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <cstring> | 10 #include <cstring> |
| 11 #include <sstream> | 11 #include <sstream> |
| 12 #include <vector> | |
|
Nico
2014/10/31 14:30:08
This file doesn't use vector anywhere from what I
Fabrice (no longer in Chrome)
2014/10/31 15:45:23
This comes from an earlier version of the patch, r
| |
| 12 | 13 |
| 13 #include "base/base_export.h" | 14 #include "base/base_export.h" |
| 14 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 15 #include "base/debug/debugger.h" | 16 #include "base/debug/debugger.h" |
| 16 #include "build/build_config.h" | 17 #include "build/build_config.h" |
| 17 | 18 |
| 18 // | 19 // |
| 19 // Optional message capabilities | 20 // Optional message capabilities |
| 20 // ----------------------------- | 21 // ----------------------------- |
| 21 // Assertion failed messages and fatal errors are displayed in a dialog box | 22 // Assertion failed messages and fatal errors are displayed in a dialog box |
| (...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 928 #elif NOTIMPLEMENTED_POLICY == 5 | 929 #elif NOTIMPLEMENTED_POLICY == 5 |
| 929 #define NOTIMPLEMENTED() do {\ | 930 #define NOTIMPLEMENTED() do {\ |
| 930 static bool logged_once = false;\ | 931 static bool logged_once = false;\ |
| 931 LOG_IF(ERROR, !logged_once) << NOTIMPLEMENTED_MSG;\ | 932 LOG_IF(ERROR, !logged_once) << NOTIMPLEMENTED_MSG;\ |
| 932 logged_once = true;\ | 933 logged_once = true;\ |
| 933 } while(0);\ | 934 } while(0);\ |
| 934 EAT_STREAM_PARAMETERS | 935 EAT_STREAM_PARAMETERS |
| 935 #endif | 936 #endif |
| 936 | 937 |
| 937 #endif // BASE_LOGGING_H_ | 938 #endif // BASE_LOGGING_H_ |
| OLD | NEW |