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

Side by Side Diff: blimp/engine/app/test_content_main_delegate.cc

Issue 1929723002: [Blimp] Adds blimp engine browser test framework and LoadUrl test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
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/engine/app/test_content_main_delegate.h"
6
7 namespace blimp {
8 namespace engine {
9 namespace {
10 TestContentMainDelegate* g_content_main_delegate = nullptr;
11 } // namespace
12
13 TestContentMainDelegate::TestContentMainDelegate() {
14 DCHECK(!g_content_main_delegate);
15 g_content_main_delegate = this;
16 }
17
18 TestContentMainDelegate::~TestContentMainDelegate() {
19 DCHECK_EQ(this, g_content_main_delegate);
20 g_content_main_delegate = nullptr;
21 }
22
23 // static
24 TestContentMainDelegate* TestContentMainDelegate::GetInstance() {
25 return g_content_main_delegate;
26 }
27
28 } // namespace engine
29 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/app/test_content_main_delegate.h ('k') | blimp/engine/session/blimp_engine_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698