OLD | NEW |
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 "components/filesystem/file_system_app.h" | 5 #include "components/filesystem/file_system_app.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "mojo/application/public/cpp/application_connection.h" | 11 #include "mojo/shell/public/cpp/application_connection.h" |
12 #include "mojo/application/public/cpp/application_impl.h" | 12 #include "mojo/shell/public/cpp/application_impl.h" |
13 | 13 |
14 namespace filesystem { | 14 namespace filesystem { |
15 | 15 |
16 FileSystemApp::FileSystemApp() : app_(nullptr), in_shutdown_(false) {} | 16 FileSystemApp::FileSystemApp() : app_(nullptr), in_shutdown_(false) {} |
17 | 17 |
18 FileSystemApp::~FileSystemApp() {} | 18 FileSystemApp::~FileSystemApp() {} |
19 | 19 |
20 void FileSystemApp::Initialize(mojo::ApplicationImpl* app) { | 20 void FileSystemApp::Initialize(mojo::ApplicationImpl* app) { |
21 app_ = app; | 21 app_ = app; |
22 tracing_.Initialize(app); | 22 tracing_.Initialize(app); |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 FileSystemApp::Client::~Client() {} | 88 FileSystemApp::Client::~Client() {} |
89 | 89 |
90 FileSystemApp::Client& FileSystemApp::Client::operator=( | 90 FileSystemApp::Client& FileSystemApp::Client::operator=( |
91 FileSystemApp::Client&& rhs) { | 91 FileSystemApp::Client&& rhs) { |
92 directory_ = rhs.directory_; | 92 directory_ = rhs.directory_; |
93 fs_client_ = std::move(rhs.fs_client_); | 93 fs_client_ = std::move(rhs.fs_client_); |
94 return *this; | 94 return *this; |
95 } | 95 } |
96 | 96 |
97 } // namespace filesystem | 97 } // namespace filesystem |
OLD | NEW |