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

Unified Diff: mojo/public/bindings/lib/buffer.cc

Issue 220243007: Mojo: Move mojo/public/bindings/lib to mojo/public/cpp/bindings/lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/bindings/lib/bindings_serialization.cc ('k') | mojo/public/bindings/lib/callback_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/bindings/lib/buffer.cc
diff --git a/mojo/public/bindings/lib/buffer.cc b/mojo/public/bindings/lib/buffer.cc
deleted file mode 100644
index 4404df8986af67a7dcf30eb74f4032aa12c36915..0000000000000000000000000000000000000000
--- a/mojo/public/bindings/lib/buffer.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mojo/public/cpp/bindings/buffer.h"
-
-#include <assert.h>
-
-#include "mojo/public/cpp/environment/buffer_tls.h"
-#include "mojo/public/cpp/system/macros.h"
-
-namespace mojo {
-
-Buffer::Buffer() {
- previous_ = internal::SetCurrentBuffer(this);
-}
-
-Buffer::~Buffer() {
- Buffer* buf MOJO_ALLOW_UNUSED = internal::SetCurrentBuffer(previous_);
- assert(buf == this);
-}
-
-Buffer* Buffer::current() {
- return internal::GetCurrentBuffer();
-}
-
-} // namespace mojo
« no previous file with comments | « mojo/public/bindings/lib/bindings_serialization.cc ('k') | mojo/public/bindings/lib/callback_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698