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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "blimp/client/test/test_blimp_client_context_delegate.h"
6
7 #include "blimp/client/public/blimp_client_context_delegate.h"
8
9 namespace blimp {
10 namespace client {
11
12 TestBlimpClientContextDelegate::TestBlimpClientContextDelegate()
13 : blimp_contents_with_last_attached_helpers_() {}
14
15 TestBlimpClientContextDelegate::~TestBlimpClientContextDelegate() {}
16
17 void TestBlimpClientContextDelegate::AttachBlimpContentsHelpers(
18 BlimpContents* blimp_contents) {
19 blimp_contents_with_last_attached_helpers_ = blimp_contents;
20 }
21
22 BlimpContents*
23 TestBlimpClientContextDelegate::GetBlimpContentsWithLastAttachedHelpers() {
24 return blimp_contents_with_last_attached_helpers_;
25 }
26
27 } // namespace client
28 } // namespace blimp
OLDNEW
« 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