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

Unified Diff: blimp/client/test/test_blimp_client_context_delegate.cc

Issue 2132163002: Add BlimpClientContext and factory with real and dummy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-blimp-client-core-public-to-blimp-client
Patch Set: git merge origin/master before CQ for good measure Created 4 years, 5 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 | « blimp/client/test/test_blimp_client_context_delegate.h ('k') | build/args/blimp_client.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/test/test_blimp_client_context_delegate.cc
diff --git a/blimp/client/test/test_blimp_client_context_delegate.cc b/blimp/client/test/test_blimp_client_context_delegate.cc
new file mode 100644
index 0000000000000000000000000000000000000000..590c21416fde5a7ce84b5ae359d6889f1b9aa9d9
--- /dev/null
+++ b/blimp/client/test/test_blimp_client_context_delegate.cc
@@ -0,0 +1,28 @@
+// Copyright 2016 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.
+
+#include "blimp/client/test/test_blimp_client_context_delegate.h"
+
+#include "blimp/client/public/blimp_client_context_delegate.h"
+
+namespace blimp {
+namespace client {
+
+TestBlimpClientContextDelegate::TestBlimpClientContextDelegate()
+ : blimp_contents_with_last_attached_helpers_() {}
+
+TestBlimpClientContextDelegate::~TestBlimpClientContextDelegate() {}
+
+void TestBlimpClientContextDelegate::AttachBlimpContentsHelpers(
+ BlimpContents* blimp_contents) {
+ blimp_contents_with_last_attached_helpers_ = blimp_contents;
+}
+
+BlimpContents*
+TestBlimpClientContextDelegate::GetBlimpContentsWithLastAttachedHelpers() {
+ return blimp_contents_with_last_attached_helpers_;
+}
+
+} // namespace client
+} // namespace blimp
« no previous file with comments | « blimp/client/test/test_blimp_client_context_delegate.h ('k') | build/args/blimp_client.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698