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

Side by Side Diff: mojo/services/files/public/c/tests/mock_errno_impl.cc

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
(Empty)
1 // Copyright 2015 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 "files/public/c/tests/mock_errno_impl.h"
6
7 namespace mojio {
8 namespace test {
9
10 int MockErrnoImpl::Get() const {
11 return last_error_;
12 }
13
14 void MockErrnoImpl::Set(int error) {
15 last_error_ = error;
16 was_set_ = true;
17 }
18
19 } // namespace test
20 } // namespace mojio
OLDNEW
« no previous file with comments | « mojo/services/files/public/c/tests/mock_errno_impl.h ('k') | mojo/services/files/public/c/tests/mojio_impl_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698