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

Side by Side Diff: mojo/services/view_manager/cpp/lib/view_private.cc

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "view_manager/public/cpp/lib/view_private.h" 5 #include "view_manager/cpp/lib/view_private.h"
6 6
7 namespace mojo { 7 namespace mojo {
8 8
9 ViewPrivate::ViewPrivate(View* view) 9 ViewPrivate::ViewPrivate(View* view) : view_(view) {
10 : view_(view) {
11 CHECK(view); 10 CHECK(view);
12 } 11 }
13 12
14 ViewPrivate::~ViewPrivate() { 13 ViewPrivate::~ViewPrivate() {}
15 }
16 14
17 // static 15 // static
18 View* ViewPrivate::LocalCreate() { 16 View* ViewPrivate::LocalCreate() {
19 return new View; 17 return new View;
20 } 18 }
21 19
22 } // namespace mojo 20 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/view_manager/cpp/lib/view_private.h ('k') | mojo/services/view_manager/cpp/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698