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

Unified Diff: third_party/WebKit/Source/platform/testing/MojoTestHelper.h

Issue 1538803002: Migrates battery_status from content/renderer/ to WebKit/platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a TODO comment. Created 4 years, 10 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: third_party/WebKit/Source/platform/testing/MojoTestHelper.h
diff --git a/third_party/WebKit/Source/core/css/cssom/MutableStylePropertyMap.h b/third_party/WebKit/Source/platform/testing/MojoTestHelper.h
similarity index 38%
copy from third_party/WebKit/Source/core/css/cssom/MutableStylePropertyMap.h
copy to third_party/WebKit/Source/platform/testing/MojoTestHelper.h
index be9f2d452fa9f1655566f6d700b33aa15dbcdf6c..d042276b282e4b4414bd2c0c8e4b3271ba8b18c4 100644
--- a/third_party/WebKit/Source/core/css/cssom/MutableStylePropertyMap.h
+++ b/third_party/WebKit/Source/platform/testing/MojoTestHelper.h
@@ -2,17 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef MutableStylePropertyMap_h
-#define MutableStylePropertyMap_h
+#ifndef MojoTestHelper_h
+#define MojoTestHelper_h
-#include "core/css/cssom/StylePropertyMap.h"
+#include "base/message_loop/message_loop.h"
+#include "wtf/Noncopyable.h"
namespace blink {
-class CORE_EXPORT MutableStylePropertyMap : public StylePropertyMap {
- WTF_MAKE_NONCOPYABLE(MutableStylePropertyMap);
+class MojoTestHelper final {
kinuko 2016/02/18 00:50:54 nit: lightweight comment would be helpful
Yuki 2016/02/18 06:05:14 Done.
+ WTF_MAKE_NONCOPYABLE(MojoTestHelper);
+public:
+ MojoTestHelper() = default;
+ ~MojoTestHelper() = default;
+
+private:
+ base::MessageLoop m_messageLoop;
};
} // namespace blink
-#endif
+#endif // MojoTestHelper_h

Powered by Google App Engine
This is Rietveld 408576698