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

Side by Side Diff: services/service_manager/public/cpp/service_context_ref.h

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 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 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 #ifndef SERVICES_SHELL_PUBLIC_CPP_SERVICE_CONTEXT_REF_H_ 5 #ifndef SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_CONTEXT_REF_H_
6 #define SERVICES_SHELL_PUBLIC_CPP_SERVICE_CONTEXT_REF_H_ 6 #define SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_CONTEXT_REF_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 13
14 namespace shell { 14 namespace shell {
15 15
16 class ServiceContextRefImpl; 16 class ServiceContextRefImpl;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 const base::Closure quit_closure_; 50 const base::Closure quit_closure_;
51 int ref_count_ = 0; 51 int ref_count_ = 0;
52 base::WeakPtrFactory<ServiceContextRefFactory> weak_factory_; 52 base::WeakPtrFactory<ServiceContextRefFactory> weak_factory_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(ServiceContextRefFactory); 54 DISALLOW_COPY_AND_ASSIGN(ServiceContextRefFactory);
55 }; 55 };
56 56
57 } // namespace shell 57 } // namespace shell
58 58
59 #endif // SERVICES_SHELL_PUBLIC_CPP_SERVICE_CONTEXT_REF_H_ 59 #endif // SERVICES_SERVICE_MANAGER_PUBLIC_CPP_SERVICE_CONTEXT_REF_H_
OLDNEW
« no previous file with comments | « services/service_manager/public/cpp/service_context.h ('k') | services/service_manager/public/cpp/service_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698