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

Side by Side Diff: third_party/WebKit/Source/modules/geolocation/Geolocation.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved.
3 * Copyright (C) 2009 Torch Mobile, Inc. 3 * Copyright (C) 2009 Torch Mobile, Inc.
4 * Copyright 2010, The Android Open Source Project 4 * Copyright 2010, The Android Open Source Project
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 20 matching lines...) Expand all
31 #include "core/dom/Document.h" 31 #include "core/dom/Document.h"
32 #include "core/frame/Deprecation.h" 32 #include "core/frame/Deprecation.h"
33 #include "core/frame/HostsUsingFeatures.h" 33 #include "core/frame/HostsUsingFeatures.h"
34 #include "core/frame/PerformanceMonitor.h" 34 #include "core/frame/PerformanceMonitor.h"
35 #include "core/frame/Settings.h" 35 #include "core/frame/Settings.h"
36 #include "core/probe/CoreProbes.h" 36 #include "core/probe/CoreProbes.h"
37 #include "modules/geolocation/Coordinates.h" 37 #include "modules/geolocation/Coordinates.h"
38 #include "modules/geolocation/GeolocationError.h" 38 #include "modules/geolocation/GeolocationError.h"
39 #include "modules/permissions/PermissionUtils.h" 39 #include "modules/permissions/PermissionUtils.h"
40 #include "platform/UserGestureIndicator.h" 40 #include "platform/UserGestureIndicator.h"
41 #include "platform/wtf/Assertions.h"
42 #include "platform/wtf/CurrentTime.h"
41 #include "public/platform/InterfaceProvider.h" 43 #include "public/platform/InterfaceProvider.h"
42 #include "public/platform/Platform.h" 44 #include "public/platform/Platform.h"
43 #include "wtf/Assertions.h"
44 #include "wtf/CurrentTime.h"
45 45
46 namespace blink { 46 namespace blink {
47 namespace { 47 namespace {
48 48
49 const char kPermissionDeniedErrorMessage[] = "User denied Geolocation"; 49 const char kPermissionDeniedErrorMessage[] = "User denied Geolocation";
50 const char kFailedToStartServiceErrorMessage[] = 50 const char kFailedToStartServiceErrorMessage[] =
51 "Failed to start Geolocation service"; 51 "Failed to start Geolocation service";
52 const char kFramelessDocumentErrorMessage[] = 52 const char kFramelessDocumentErrorMessage[] =
53 "Geolocation cannot be used in frameless documents"; 53 "Geolocation cannot be used in frameless documents";
54 54
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 PositionError::kPositionUnavailable, kFailedToStartServiceErrorMessage); 556 PositionError::kPositionUnavailable, kFailedToStartServiceErrorMessage);
557 error->SetIsFatal(true); 557 error->SetIsFatal(true);
558 HandleError(error); 558 HandleError(error);
559 } 559 }
560 560
561 void Geolocation::OnPermissionConnectionError() { 561 void Geolocation::OnPermissionConnectionError() {
562 OnGeolocationPermissionUpdated(mojom::blink::PermissionStatus::DENIED); 562 OnGeolocationPermissionUpdated(mojom::blink::PermissionStatus::DENIED);
563 } 563 }
564 564
565 } // namespace blink 565 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698