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

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

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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/app/ui/blimp_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698