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

Side by Side Diff: chrome/common/mac/launchd.h

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « chrome/common/mac/cfbundle_blocker_unittest.mm ('k') | chrome/common/mac/mock_launchd.cc » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_COMMON_MAC_LAUNCHD_H_ 5 #ifndef CHROME_COMMON_MAC_LAUNCHD_H_
6 #define CHROME_COMMON_MAC_LAUNCHD_H_ 6 #define CHROME_COMMON_MAC_LAUNCHD_H_
7 7
8 #include <CoreFoundation/CoreFoundation.h> 8 #include <CoreFoundation/CoreFoundation.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/macros.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 12
13 class Launchd { 13 class Launchd {
14 public: 14 public:
15 enum Type { 15 enum Type {
16 Agent, // LaunchAgent 16 Agent, // LaunchAgent
17 Daemon // LaunchDaemon 17 Daemon // LaunchDaemon
18 }; 18 };
19 19
20 // Domains map to NSSearchPathDomainMask so Foundation does not need to be 20 // Domains map to NSSearchPathDomainMask so Foundation does not need to be
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 private: 88 private:
89 // TODO(dmaclach): remove this once http://crbug.com/76925 is fixed. 89 // TODO(dmaclach): remove this once http://crbug.com/76925 is fixed.
90 // Scaffolding for doing unittests with our singleton. 90 // Scaffolding for doing unittests with our singleton.
91 friend struct base::DefaultSingletonTraits<Launchd>; 91 friend struct base::DefaultSingletonTraits<Launchd>;
92 static Launchd* g_instance_; 92 static Launchd* g_instance_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(Launchd); 94 DISALLOW_COPY_AND_ASSIGN(Launchd);
95 }; 95 };
96 96
97 #endif // CHROME_COMMON_MAC_LAUNCHD_H_ 97 #endif // CHROME_COMMON_MAC_LAUNCHD_H_
OLDNEW
« no previous file with comments | « chrome/common/mac/cfbundle_blocker_unittest.mm ('k') | chrome/common/mac/mock_launchd.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698