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

Unified Diff: gpu/command_buffer/common/constants.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/command_buffer_mock.h ('k') | gpu/command_buffer/service/cmd_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/constants.h
===================================================================
--- gpu/command_buffer/common/constants.h (revision 37750)
+++ gpu/command_buffer/common/constants.h (working copy)
@@ -12,15 +12,15 @@
typedef int32 CommandBufferOffset;
const CommandBufferOffset kInvalidCommandBufferOffset = -1;
-// TODO(apatrick): rename to something more generic like just Error.
-namespace parse_error {
- enum ParseError {
- kParseNoError,
- kParseInvalidSize,
- kParseOutOfBounds,
- kParseUnknownCommand,
- kParseInvalidArguments,
- kParseGenericError
+// This enum must stay in sync with NPDeviceContext3DError.
+namespace error {
+ enum Error {
+ kNoError,
+ kInvalidSize,
+ kOutOfBounds,
+ kUnknownCommand,
+ kInvalidArguments,
+ kGenericError
};
}
« no previous file with comments | « gpu/command_buffer/common/command_buffer_mock.h ('k') | gpu/command_buffer/service/cmd_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698