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

Unified Diff: WebKit/chromium/public/WebGeolocationService.h

Issue 3316011: Merge 66886 - 2010-09-07 Jonathan Dixon <joth@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 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: WebKit/chromium/public/WebGeolocationService.h
===================================================================
--- WebKit/chromium/public/WebGeolocationService.h (revision 67096)
+++ WebKit/chromium/public/WebGeolocationService.h (working copy)
@@ -31,10 +31,9 @@
#ifndef WebGeolocationService_h
#define WebGeolocationService_h
-#include "WebGeolocationServiceBridge.h"
-
namespace WebKit {
+class WebGeolocationServiceBridge;
class WebString;
class WebURL;
@@ -50,10 +49,14 @@
// Attaches the WebGeolocationServiceBridge to the embedder and returns its
// id, which should be used on subsequent calls for the methods above.
+ // An ID of zero indicates the attach failed.
virtual int attachBridge(WebGeolocationServiceBridge*) { return 0; }
// Detaches the WebGeolocationServiceBridge from the embedder.
virtual void detachBridge(int bridgeId) { }
+
+protected:
+ virtual ~WebGeolocationService() {}
};
} // namespace WebKit
« no previous file with comments | « WebCore/platform/chromium/GeolocationServiceChromium.cpp ('k') | WebKit/chromium/src/WebGeolocationServiceBridgeImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698