Chromium Code Reviews| Index: Source/platform/exported/WebGeofencingRegionPrivate.h |
| diff --git a/Source/platform/exported/WebGeofencingRegionPrivate.h b/Source/platform/exported/WebGeofencingRegionPrivate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..60ccb9779eb0be728afd7c73ac1a46205d0e6fe6 |
| --- /dev/null |
| +++ b/Source/platform/exported/WebGeofencingRegionPrivate.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WebGeofencingRegionPrivate_h |
| +#define WebGeofencingRegionPrivate_h |
| + |
| +#include "public/platform/WebGeofencingRegion.h" |
| +#include "public/platform/WebString.h" |
| +#include "wtf/ThreadSafeRefCounted.h" |
| + |
| +namespace blink { |
| + |
| +class WebGeofencingRegionPrivate : public ThreadSafeRefCounted<WebGeofencingRegionPrivate> { |
| +protected: |
| + WebGeofencingRegionPrivate(const WebString& id) |
|
esprehn
2014/08/19 01:15:59
explicit
Marijn Kruisselbrink
2014/08/19 18:55:14
Done.
|
| + : id(id) { } |
|
esprehn
2014/08/19 01:15:59
braces on the next line.
Marijn Kruisselbrink
2014/08/19 18:55:14
Done.
|
| + |
| +public: |
| + virtual ~WebGeofencingRegionPrivate() { } |
| + virtual WebGeofencingRegion::RegionType regionType() const = 0; |
| + |
| + const WebString id; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif // WebGeofencingRegionPrivate_h |