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

Side by Side Diff: content/public/browser/child_process_data.h

Issue 8770027: Get rid of the ChildProcessInfo class. It was carrying unnecessary data, and the fact that some p... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years 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 | « content/content_common.gypi ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_CHILD_PROCESS_DATA_H_
6 #define CONTENT_PUBLIC_CHILD_PROCESS_DATA_H_
7 #pragma once
8
9 #include "base/process.h"
10 #include "base/string16.h"
11 #include "content/common/content_export.h"
12 #include "content/public/common/process_type.h"
13
14 namespace content {
15
16 // Holds information about a child process.
17 struct ChildProcessData {
18 // The type of the process.
19 content::ProcessType type;
20
21 // The name of the process. i.e. for plugins it might be Flash, while for
22 // for workers it might be the domain that it's from.
23 string16 name;
24
25 // The unique identifier for this child process. This identifier is NOT a
26 // process ID, and will be unique for all types of child process for
27 // one run of the browser.
28 int id;
29
30 // The handle to the process.
31 base::ProcessHandle handle;
32
33 ChildProcessData() : id(0), handle(base::kNullProcessHandle) {}
34 };
35
36 } // namespace content
37
38 #endif // CONTENT_PUBLIC_CHILD_PROCESS_DATA_H_
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698