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

Side by Side Diff: mojo/services/files/cpp/lib/output_stream_file.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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 "mojo/services/files/public/cpp/output_stream_file.h" 5 #include "mojo/services/files/cpp/output_stream_file.h"
6 6
7 #include "mojo/public/cpp/environment/logging.h" 7 #include "mojo/public/cpp/environment/logging.h"
8 8
9 namespace files_impl { 9 namespace files_impl {
10 10
11 // static 11 // static
12 std::unique_ptr<OutputStreamFile> OutputStreamFile::Create( 12 std::unique_ptr<OutputStreamFile> OutputStreamFile::Create(
13 Client* client, 13 Client* client,
14 mojo::InterfaceRequest<mojo::files::File> request) { 14 mojo::InterfaceRequest<mojo::files::File> request) {
15 // TODO(vtl): Use make_unique when we have C++14. 15 // TODO(vtl): Use make_unique when we have C++14.
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 const IoctlCallback& callback) { 223 const IoctlCallback& callback) {
224 if (is_closed_) { 224 if (is_closed_) {
225 callback.Run(mojo::files::Error::CLOSED, mojo::Array<uint32_t>()); 225 callback.Run(mojo::files::Error::CLOSED, mojo::Array<uint32_t>());
226 return; 226 return;
227 } 227 }
228 228
229 callback.Run(mojo::files::Error::UNIMPLEMENTED, mojo::Array<uint32_t>()); 229 callback.Run(mojo::files::Error::UNIMPLEMENTED, mojo::Array<uint32_t>());
230 } 230 }
231 231
232 } // namespace files_impl 232 } // namespace files_impl
OLDNEW
« no previous file with comments | « mojo/services/files/cpp/lib/input_stream_file.cc ('k') | mojo/services/files/cpp/output_stream_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698