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

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

Issue 19495006: Update include paths in content/browser for base/process changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_MACH_BROKER_MAC_H_ 5 #ifndef CONTENT_BROWSER_MACH_BROKER_MAC_H_
6 #define CONTENT_BROWSER_MACH_BROKER_MAC_H_ 6 #define CONTENT_BROWSER_MACH_BROKER_MAC_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include <mach/mach.h> 11 #include <mach/mach.h>
12 12
13 #include "base/memory/singleton.h" 13 #include "base/memory/singleton.h"
14 #include "base/process.h" 14 #include "base/process/process_handle.h"
15 #include "base/process_util.h" 15 #include "base/process/process_metrics.h"
16 #include "base/synchronization/lock.h" 16 #include "base/synchronization/lock.h"
17 #include "content/public/browser/browser_child_process_observer.h" 17 #include "content/public/browser/browser_child_process_observer.h"
18 #include "content/public/browser/notification_observer.h" 18 #include "content/public/browser/notification_observer.h"
19 #include "content/public/browser/notification_registrar.h" 19 #include "content/public/browser/notification_registrar.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 // On OS X, the mach_port_t of a process is required to collect metrics about 23 // On OS X, the mach_port_t of a process is required to collect metrics about
24 // the process. Running |task_for_pid()| is only allowed for privileged code. 24 // the process. Running |task_for_pid()| is only allowed for privileged code.
25 // However, a process has port rights to all its subprocesses, so let the 25 // However, a process has port rights to all its subprocesses, so let the
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 // Mutex that guards |mach_map_|. 113 // Mutex that guards |mach_map_|.
114 mutable base::Lock lock_; 114 mutable base::Lock lock_;
115 115
116 DISALLOW_COPY_AND_ASSIGN(MachBroker); 116 DISALLOW_COPY_AND_ASSIGN(MachBroker);
117 }; 117 };
118 118
119 } // namespace content 119 } // namespace content
120 120
121 #endif // CONTENT_BROWSER_MACH_BROKER_MAC_H_ 121 #endif // CONTENT_BROWSER_MACH_BROKER_MAC_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_unittest.cc ('k') | content/browser/media/webrtc_internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698