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

Side by Side Diff: services/file/file_system.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "services/file/file_system.h" 5 #include "services/file/file_system.h"
6 6
7 #include "base/files/file.h" 7 #include "base/files/file.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/memory/ptr_util.h"
11 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
12 #include "components/filesystem/directory_impl.h" 13 #include "components/filesystem/directory_impl.h"
13 #include "components/filesystem/lock_table.h" 14 #include "components/filesystem/lock_table.h"
14 #include "components/filesystem/public/interfaces/types.mojom.h" 15 #include "components/filesystem/public/interfaces/types.mojom.h"
15 #include "mojo/public/cpp/bindings/strong_binding.h" 16 #include "mojo/public/cpp/bindings/strong_binding.h"
16 #include "services/service_manager/public/cpp/connection.h" 17 #include "services/service_manager/public/cpp/connection.h"
17 18
18 namespace file { 19 namespace file {
19 20
20 FileSystem::FileSystem(const base::FilePath& base_user_dir, 21 FileSystem::FileSystem(const base::FilePath& base_user_dir,
(...skipping 30 matching lines...) Expand all
51 } 52 }
52 53
53 mojo::MakeStrongBinding( 54 mojo::MakeStrongBinding(
54 base::MakeUnique<filesystem::DirectoryImpl>( 55 base::MakeUnique<filesystem::DirectoryImpl>(
55 subdir, scoped_refptr<filesystem::SharedTempDir>(), lock_table_), 56 subdir, scoped_refptr<filesystem::SharedTempDir>(), lock_table_),
56 std::move(request)); 57 std::move(request));
57 callback.Run(filesystem::mojom::FileError::OK); 58 callback.Run(filesystem::mojom::FileError::OK);
58 } 59 }
59 60
60 } // namespace file 61 } // namespace file
OLDNEW
« no previous file with comments | « remoting/host/win/wts_session_process_delegate.cc ('k') | services/image_decoder/image_decoder_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698