Index: mojo/public/cpp/environment/environment.h |
diff --git a/mojo/public/cpp/environment/environment.h b/mojo/public/cpp/environment/environment.h |
index f75e2f77851d8da0a40a52f6e3c305c57e2b7fd9..b391cd2561b16b218881d9a2f5e5751789842cc9 100644 |
--- a/mojo/public/cpp/environment/environment.h |
+++ b/mojo/public/cpp/environment/environment.h |
@@ -12,10 +12,19 @@ namespace mojo { |
// This class must be instantiated before using any Mojo APIs. |
class Environment { |
public: |
+ class Impl { |
darin (slow to review)
2014/03/31 23:21:55
another way to do this is to just forward declare
darin (slow to review)
2014/03/31 23:24:47
I might use a term other than Impl here since it m
sky
2014/03/31 23:54:40
Done.
sky
2014/03/31 23:54:40
Done.
|
+ public: |
+ Impl() {} |
+ virtual ~Impl() {} |
+ }; |
+ |
Environment(); |
~Environment(); |
private: |
+ // Environment implementation can use this to store state. |
+ Impl* impl_; |
darin (slow to review)
2014/03/31 23:21:55
you should probably at least set this to null in t
sky
2014/03/31 23:54:40
Done.
|
+ |
MOJO_DISALLOW_COPY_AND_ASSIGN(Environment); |
}; |