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

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

Issue 7691001: Move Mac-specific files in chrome/common to chrome/common/mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/mac/attributed_string_coder_unittest.mm ('k') | chrome/common/mac/launchd.mm » ('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_LAUNCHD_MAC_H_ 5 #ifndef CHROME_COMMON_MAC_LAUNCHD_H_
6 #define CHROME_COMMON_LAUNCHD_MAC_H_ 6 #define CHROME_COMMON_MAC_LAUNCHD_H_
7 #pragma once
7 8
8 #include <CoreFoundation/CoreFoundation.h> 9 #include <CoreFoundation/CoreFoundation.h>
9 10
10 #include "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "base/memory/singleton.h" 12 #include "base/memory/singleton.h"
12 13
13 class Launchd { 14 class Launchd {
14 public: 15 public:
15 enum Type { 16 enum Type {
16 Agent, // LaunchAgent 17 Agent, // LaunchAgent
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 91
91 private: 92 private:
92 // TODO(dmaclach): remove this once http://crbug.com/76925 is fixed. 93 // TODO(dmaclach): remove this once http://crbug.com/76925 is fixed.
93 // Scaffolding for doing unittests with our singleton. 94 // Scaffolding for doing unittests with our singleton.
94 friend struct DefaultSingletonTraits<Launchd>; 95 friend struct DefaultSingletonTraits<Launchd>;
95 static Launchd* g_instance_; 96 static Launchd* g_instance_;
96 97
97 DISALLOW_COPY_AND_ASSIGN(Launchd); 98 DISALLOW_COPY_AND_ASSIGN(Launchd);
98 }; 99 };
99 100
100 #endif // CHROME_COMMON_LAUNCHD_MAC_H_ 101 #endif // CHROME_COMMON_MAC_LAUNCHD_H_
OLDNEW
« no previous file with comments | « chrome/common/mac/attributed_string_coder_unittest.mm ('k') | chrome/common/mac/launchd.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698