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

Unified Diff: gpu/command_buffer/service/cmd_parser.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
« no previous file with comments | « gpu/command_buffer/common/constants.h ('k') | gpu/command_buffer/service/cmd_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/cmd_parser.h
===================================================================
--- gpu/command_buffer/service/cmd_parser.h (revision 37750)
+++ gpu/command_buffer/service/cmd_parser.h (working copy)
@@ -52,13 +52,13 @@
// Processes one command, updating the get pointer. This will return an error
// if there are no commands in the buffer.
- parse_error::ParseError ProcessCommand();
+ error::Error ProcessCommand();
// Processes all commands until get == put.
- parse_error::ParseError ProcessAllCommands();
+ error::Error ProcessAllCommands();
// Reports an error.
- void ReportError(unsigned int command_id, parse_error::ParseError result);
+ void ReportError(unsigned int command_id, error::Error result);
private:
CommandBufferOffset get_;
@@ -81,9 +81,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.
- virtual parse_error::ParseError DoCommand(
+ // error::kNoError if no error was found, one of
+ // error::Error otherwise.
+ virtual error::Error DoCommand(
unsigned int command,
unsigned int arg_count,
const void* cmd_data) = 0;
« no previous file with comments | « gpu/command_buffer/common/constants.h ('k') | gpu/command_buffer/service/cmd_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698