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

Side by Side Diff: base/test/mock_log.h

Issue 1544113002: Switch to standard integer types in base/test/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/test/mock_entropy_provider.cc ('k') | base/test/multiprocess_test.h » ('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 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 BASE_TEST_MOCK_LOG_H_ 5 #ifndef BASE_TEST_MOCK_LOG_H_
6 #define BASE_TEST_MOCK_LOG_H_ 6 #define BASE_TEST_MOCK_LOG_H_
7 7
8 #include <stddef.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/macros.h" 13 #include "base/macros.h"
12 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
13 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
14 16
15 namespace base { 17 namespace base {
16 namespace test { 18 namespace test {
17 19
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // The previous handler to restore when the MockLog is destroyed. 91 // The previous handler to restore when the MockLog is destroyed.
90 logging::LogMessageHandlerFunction previous_handler_; 92 logging::LogMessageHandlerFunction previous_handler_;
91 93
92 DISALLOW_COPY_AND_ASSIGN(MockLog); 94 DISALLOW_COPY_AND_ASSIGN(MockLog);
93 }; 95 };
94 96
95 } // namespace test 97 } // namespace test
96 } // namespace base 98 } // namespace base
97 99
98 #endif // BASE_TEST_MOCK_LOG_H_ 100 #endif // BASE_TEST_MOCK_LOG_H_
OLDNEW
« no previous file with comments | « base/test/mock_entropy_provider.cc ('k') | base/test/multiprocess_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698