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

Unified Diff: gpu/command_buffer/service/common_decoder.h

Issue 558054: Renamed ParseError -> Error, parse_error -> error, kParseNoError -> kNoError,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/service/common_decoder.h
===================================================================
--- gpu/command_buffer/service/common_decoder.h (revision 37750)
+++ gpu/command_buffer/service/common_decoder.h (working copy)
@@ -19,7 +19,7 @@
// o3d/gl2 command buffer decoder.
class CommonDecoder : public AsyncAPIInterface {
public:
- typedef parse_error::ParseError ParseError;
+ typedef error::Error Error;
static const unsigned int kMaxStackDepth = 32;
@@ -100,9 +100,9 @@
// arg_count: the number of CommandBufferEntry arguments.
// cmd_data: the command data.
// Returns:
- // parse_error::NO_ERROR if no error was found, one of
- // parse_error::ParseError otherwise.
- parse_error::ParseError DoCommonCommand(
+ // error::kNoError if no error was found, one of
+ // error::Error otherwise.
+ error::Error DoCommonCommand(
unsigned int command,
unsigned int arg_count,
const void* cmd_data);
@@ -138,7 +138,7 @@
// Generate a member function prototype for each command in an automated and
// typesafe way.
#define COMMON_COMMAND_BUFFER_CMD_OP(name) \
- parse_error::ParseError Handle ## name( \
+ error::Error Handle ## name( \
uint32 immediate_data_size, \
const cmd::name& args); \
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service_unittest.cc ('k') | gpu/command_buffer/service/common_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698