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

Side by Side Diff: content/browser/mach_broker_mac.h

Issue 7232003: Move MachBroker to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
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_BROWSER_MACH_BROKER_H_ 5 #ifndef CONTENT_BROWSER_MACH_BROKER_MAC_H_
6 #define CHROME_BROWSER_MACH_BROKER_H_ 6 #define CONTENT_BROWSER_MACH_BROKER_MAC_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include <mach/mach.h> 12 #include <mach/mach.h>
13 13
14 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "base/process.h" 15 #include "base/process.h"
16 #include "base/process_util.h" 16 #include "base/process_util.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 // Mutex that guards |mach_map_|. 102 // Mutex that guards |mach_map_|.
103 mutable base::Lock lock_; 103 mutable base::Lock lock_;
104 104
105 friend class MachBrokerTest; 105 friend class MachBrokerTest;
106 friend class RegisterNotificationTask; 106 friend class RegisterNotificationTask;
107 // Needed in order to make the constructor private. 107 // Needed in order to make the constructor private.
108 friend struct DefaultSingletonTraits<MachBroker>; 108 friend struct DefaultSingletonTraits<MachBroker>;
109 DISALLOW_COPY_AND_ASSIGN(MachBroker); 109 DISALLOW_COPY_AND_ASSIGN(MachBroker);
110 }; 110 };
111 111
112 #endif // CHROME_BROWSER_MACH_BROKER_H_ 112 #endif // CONTENT_BROWSER_MACH_BROKER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698