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

Side by Side Diff: third_party/WebKit/Source/core/fileapi/FileError.h

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 #include "core/CoreExport.h" 34 #include "core/CoreExport.h"
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class DOMException; 38 class DOMException;
39 class ExceptionState; 39 class ExceptionState;
40 40
41 namespace FileError { 41 namespace FileError {
42 42
43 enum ErrorCode { 43 enum ErrorCode {
44 OK = 0, 44 kOK = 0,
45 NOT_FOUND_ERR = 1, 45 kNotFoundErr = 1,
46 SECURITY_ERR = 2, 46 kSecurityErr = 2,
47 ABORT_ERR = 3, 47 kAbortErr = 3,
48 NOT_READABLE_ERR = 4, 48 kNotReadableErr = 4,
49 ENCODING_ERR = 5, 49 kEncodingErr = 5,
50 NO_MODIFICATION_ALLOWED_ERR = 6, 50 kNoModificationAllowedErr = 6,
51 INVALID_STATE_ERR = 7, 51 kInvalidStateErr = 7,
52 SYNTAX_ERR = 8, 52 kSyntaxErr = 8,
53 INVALID_MODIFICATION_ERR = 9, 53 kInvalidModificationErr = 9,
54 QUOTA_EXCEEDED_ERR = 10, 54 kQuotaExceededErr = 10,
55 TYPE_MISMATCH_ERR = 11, 55 kTypeMismatchErr = 11,
56 PATH_EXISTS_ERR = 12, 56 kPathExistsErr = 12,
57 }; 57 };
58 58
59 CORE_EXPORT extern const char abortErrorMessage[]; 59 CORE_EXPORT extern const char abortErrorMessage[];
60 CORE_EXPORT extern const char encodingErrorMessage[]; 60 CORE_EXPORT extern const char encodingErrorMessage[];
61 CORE_EXPORT extern const char invalidStateErrorMessage[]; 61 CORE_EXPORT extern const char invalidStateErrorMessage[];
62 CORE_EXPORT extern const char noModificationAllowedErrorMessage[]; 62 CORE_EXPORT extern const char noModificationAllowedErrorMessage[];
63 CORE_EXPORT extern const char notFoundErrorMessage[]; 63 CORE_EXPORT extern const char notFoundErrorMessage[];
64 CORE_EXPORT extern const char notReadableErrorMessage[]; 64 CORE_EXPORT extern const char notReadableErrorMessage[];
65 CORE_EXPORT extern const char pathExistsErrorMessage[]; 65 CORE_EXPORT extern const char pathExistsErrorMessage[];
66 CORE_EXPORT extern const char quotaExceededErrorMessage[]; 66 CORE_EXPORT extern const char quotaExceededErrorMessage[];
67 CORE_EXPORT extern const char securityErrorMessage[]; 67 CORE_EXPORT extern const char securityErrorMessage[];
68 CORE_EXPORT extern const char syntaxErrorMessage[]; 68 CORE_EXPORT extern const char syntaxErrorMessage[];
69 CORE_EXPORT extern const char typeMismatchErrorMessage[]; 69 CORE_EXPORT extern const char typeMismatchErrorMessage[];
70 70
71 CORE_EXPORT void throwDOMException(ExceptionState&, ErrorCode); 71 CORE_EXPORT void throwDOMException(ExceptionState&, ErrorCode);
72 CORE_EXPORT DOMException* createDOMException(ErrorCode); 72 CORE_EXPORT DOMException* createDOMException(ErrorCode);
73 73
74 } // namespace FileError 74 } // namespace FileError
75 75
76 } // namespace blink 76 } // namespace blink
77 77
78 #endif // FileError_h 78 #endif // FileError_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/events/WheelEvent.cpp ('k') | third_party/WebKit/Source/core/fileapi/FileError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698