Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebGeofencingRegionPrivate_h | |
| 6 #define WebGeofencingRegionPrivate_h | |
| 7 | |
| 8 #include "public/platform/WebGeofencingRegion.h" | |
| 9 #include "public/platform/WebString.h" | |
| 10 #include "wtf/ThreadSafeRefCounted.h" | |
| 11 | |
| 12 namespace blink { | |
| 13 | |
| 14 class WebGeofencingRegionPrivate : public ThreadSafeRefCounted<WebGeofencingRegi onPrivate> { | |
| 15 protected: | |
| 16 explicit WebGeofencingRegionPrivate(const WebString& id) | |
| 17 : id(id) | |
| 18 { } | |
| 19 | |
| 20 public: | |
| 21 virtual ~WebGeofencingRegionPrivate() { } | |
| 22 virtual WebGeofencingRegion::RegionType regionType() const = 0; | |
| 23 | |
| 24 const WebString id; | |
|
abarth-chromium
2014/08/23 05:43:34
Why not just store this data in WebGeofencingRegio
| |
| 25 }; | |
| 26 | |
| 27 } // namespace blink | |
| 28 | |
| 29 #endif // WebGeofencingRegionPrivate_h | |
| OLD | NEW |