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

Unified Diff: third_party/WebKit/Source/modules/geolocation/PositionError.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/geolocation/PositionError.h
diff --git a/third_party/WebKit/Source/modules/geolocation/PositionError.h b/third_party/WebKit/Source/modules/geolocation/PositionError.h
index 45307e1c45a7bf8a590c5981e5ac6e9a1010fa29..b8b6b004a511fff31d2611796537dde15c2692a5 100644
--- a/third_party/WebKit/Source/modules/geolocation/PositionError.h
+++ b/third_party/WebKit/Source/modules/geolocation/PositionError.h
@@ -36,9 +36,9 @@ class PositionError final : public GarbageCollectedFinalized<PositionError>, pub
DEFINE_WRAPPERTYPEINFO();
public:
enum ErrorCode {
- PERMISSION_DENIED = 1,
- POSITION_UNAVAILABLE = 2,
- TIMEOUT = 3
+ kPermissionDenied = 1,
+ kPositionUnavailable = 2,
+ kTimeout = 3
};
static PositionError* create(ErrorCode code, const String& message) { return new PositionError(code, message); }

Powered by Google App Engine
This is Rietveld 408576698