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

Unified Diff: mojo/environment/environment.cc

Issue 281353005: Mojo: nuke EnvironmentData (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gn Created 6 years, 6 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
« no previous file with comments | « mojo/common/handle_watcher_unittest.cc ('k') | mojo/mojo.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/environment/environment.cc
diff --git a/mojo/environment/environment.cc b/mojo/environment/environment.cc
index ab182a64de06052499231c3dcad3e1b2d40cdf15..468f6a3ffc6d0cffa3e76f0dfbc335d12cada370 100644
--- a/mojo/environment/environment.cc
+++ b/mojo/environment/environment.cc
@@ -4,32 +4,16 @@
#include "mojo/public/cpp/environment/environment.h"
-#include "mojo/common/environment_data.h"
-
namespace mojo {
-class Environment::Data {
- public:
- Data();
- ~Data();
-
- private:
- common::EnvironmentData data_;
-
- DISALLOW_COPY_AND_ASSIGN(Data);
-};
-
-Environment::Data::Data() {
-}
-
-Environment::Data::~Data() {
-}
-
-Environment::Environment() : data_(new Environment::Data) {
+// These methods are intentionally not implemented so that there is a link
+// error if someone uses them in a Chromium-environment.
+#if 0
+Environment::Environment() {
}
Environment::~Environment() {
- delete data_;
}
+#endif
} // namespace mojo
« no previous file with comments | « mojo/common/handle_watcher_unittest.cc ('k') | mojo/mojo.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698