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

Side by Side Diff: mojo/public/bindings/lib/bindings_support.cc

Issue 54743003: Mojo: bindings connector (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove errant line from mojo.gyp Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « mojo/public/bindings/lib/bindings_support.h ('k') | mojo/public/bindings/lib/connector.h » ('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 2013 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 "mojo/public/bindings/lib/bindings_support.h"
6
7 #include <assert.h>
8 #include <stddef.h>
9
10 namespace mojo {
11
12 namespace {
13 BindingsSupport* g_bindings_support = NULL;
14 }
15
16 // static
17 void BindingsSupport::Set(BindingsSupport* support) {
18 g_bindings_support = support;
19 }
20
21 // static
22 BindingsSupport* BindingsSupport::Get() {
23 assert(g_bindings_support);
24 return g_bindings_support;
25 }
26
27 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/bindings/lib/bindings_support.h ('k') | mojo/public/bindings/lib/connector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698