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

Side by Side Diff: gpu/command_buffer/service/logger.h

Issue 1542513002: Switch to standard integer types in gpu/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // This file contains the Logger class. 5 // This file contains the Logger class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_LOGGER_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_LOGGER_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_LOGGER_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_LOGGER_H_
9 9
10 #include <stdint.h>
11
10 #include <string> 12 #include <string>
11 13
12 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/macros.h"
13 #include "gpu/gpu_export.h" 16 #include "gpu/gpu_export.h"
14 17
15 namespace gpu { 18 namespace gpu {
16 namespace gles2 { 19 namespace gles2 {
17 20
18 typedef base::Callback<void(int32 id, const std::string& msg)> MsgCallback; 21 typedef base::Callback<void(int32_t id, const std::string& msg)> MsgCallback;
19 22
20 class DebugMarkerManager; 23 class DebugMarkerManager;
21 24
22 class GPU_EXPORT Logger { 25 class GPU_EXPORT Logger {
23 public: 26 public:
24 static const int kMaxLogMessages = 256; 27 static const int kMaxLogMessages = 256;
25 28
26 explicit Logger(const DebugMarkerManager* debug_marker_manager); 29 explicit Logger(const DebugMarkerManager* debug_marker_manager);
27 ~Logger(); 30 ~Logger();
28 31
(...skipping 20 matching lines...) Expand all
49 52
50 MsgCallback msg_callback_; 53 MsgCallback msg_callback_;
51 DISALLOW_COPY_AND_ASSIGN(Logger); 54 DISALLOW_COPY_AND_ASSIGN(Logger);
52 }; 55 };
53 56
54 } // namespace gles2 57 } // namespace gles2
55 } // namespace gpu 58 } // namespace gpu
56 59
57 #endif // GPU_COMMAND_BUFFER_SERVICE_LOGGER_H_ 60 #endif // GPU_COMMAND_BUFFER_SERVICE_LOGGER_H_
58 61
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/in_process_command_buffer.cc ('k') | gpu/command_buffer/service/mailbox_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698