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

Unified Diff: ash/common/devtools/ash_devtools_unittest.cc

Issue 2776543002: Create a unified UIElement interface for Widget, View and Window. (Closed)
Patch Set: . Created 3 years, 9 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: ash/common/devtools/ash_devtools_unittest.cc
diff --git a/ash/common/devtools/ash_devtools_unittest.cc b/ash/common/devtools/ash_devtools_unittest.cc
index 4ae947a357fe79d59fb225e572ad346c0ebcd7a4..837134f874f0f6c5ea2c050d1bf0a722c94f5227 100644
--- a/ash/common/devtools/ash_devtools_unittest.cc
+++ b/ash/common/devtools/ash_devtools_unittest.cc
@@ -42,6 +42,7 @@ class FakeFrontendChannel : public FrontendChannel {
int CountProtocolNotificationMessageStartsWith(const std::string& message) {
int count = 0;
for (const std::string& s : protocol_notification_messages_) {
+ LOG(ERROR) << "CountProtocolNotificationMessageStartsWith: " << s;
if (base::StartsWith(s, message, base::CompareCase::SENSITIVE))
count++;
}
@@ -59,6 +60,8 @@ class FakeFrontendChannel : public FrontendChannel {
void flushProtocolNotifications() override {}
void sendProtocolNotification(
std::unique_ptr<Serializable> message) override {
+ LOG(ERROR) << "---------- protocol_notification_messages_.size(): "
+ << protocol_notification_messages_.size();
protocol_notification_messages_.push_back(message->serialize());
}

Powered by Google App Engine
This is Rietveld 408576698