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

Side by Side Diff: services/user/user_shell_client.cc

Issue 2080513002: Deletes mojo::Callback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
« no previous file with comments | « services/user/user_shell_client.h ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/user/user_shell_client.h" 5 #include "services/user/user_shell_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "components/filesystem/lock_table.h" 10 #include "components/filesystem/lock_table.h"
11 #include "components/leveldb/leveldb_service_impl.h" 11 #include "components/leveldb/leveldb_service_impl.h"
12 #include "mojo/public/cpp/bindings/callback.h"
13 #include "services/shell/public/cpp/connection.h" 12 #include "services/shell/public/cpp/connection.h"
14 #include "services/user/user_id_map.h" 13 #include "services/user/user_id_map.h"
15 #include "services/user/user_service.h" 14 #include "services/user/user_service.h"
16 15
17 namespace user_service { 16 namespace user_service {
18 17
19 class UserShellClient::UserServiceObjects 18 class UserShellClient::UserServiceObjects
20 : public base::SupportsWeakPtr<UserServiceObjects> { 19 : public base::SupportsWeakPtr<UserServiceObjects> {
21 public: 20 public:
22 // Created on the main thread. 21 // Created on the main thread.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 leveldb::mojom::LevelDBServiceRequest request) { 116 leveldb::mojom::LevelDBServiceRequest request) {
118 leveldb_service_runner_->PostTask( 117 leveldb_service_runner_->PostTask(
119 FROM_HERE, 118 FROM_HERE,
120 base::Bind( 119 base::Bind(
121 &UserShellClient::LevelDBServiceObjects::OnLevelDBServiceRequest, 120 &UserShellClient::LevelDBServiceObjects::OnLevelDBServiceRequest,
122 leveldb_objects_->AsWeakPtr(), connection, 121 leveldb_objects_->AsWeakPtr(), connection,
123 base::Passed(&request))); 122 base::Passed(&request)));
124 } 123 }
125 124
126 } // namespace user_service 125 } // namespace user_service
OLDNEW
« no previous file with comments | « services/user/user_shell_client.h ('k') | third_party/WebKit/Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698