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

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

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
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_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Removes this host from the host list. Calls ChildProcessHost::ForceShutdown 83 // Removes this host from the host list. Calls ChildProcessHost::ForceShutdown
84 void ForceShutdown(); 84 void ForceShutdown();
85 85
86 // Callers can reduce the BrowserChildProcess' priority. 86 // Callers can reduce the BrowserChildProcess' priority.
87 void SetBackgrounded(bool backgrounded); 87 void SetBackgrounded(bool backgrounded);
88 88
89 // Adds an IPC message filter. 89 // Adds an IPC message filter.
90 void AddFilter(BrowserMessageFilter* filter); 90 void AddFilter(BrowserMessageFilter* filter);
91 91
92 // Called when an instance of a particular child is created in a page.
93 static void NotifyProcessInstanceCreated(const ChildProcessData& data);
94
95 static void HistogramBadMessageTerminated(int process_type); 92 static void HistogramBadMessageTerminated(int process_type);
96 93
97 BrowserChildProcessHostDelegate* delegate() const { return delegate_; } 94 BrowserChildProcessHostDelegate* delegate() const { return delegate_; }
98 95
99 typedef std::list<BrowserChildProcessHostImpl*> BrowserChildProcessList; 96 typedef std::list<BrowserChildProcessHostImpl*> BrowserChildProcessList;
100 private: 97 private:
101 friend class BrowserChildProcessHostIterator; 98 friend class BrowserChildProcessHostIterator;
102 friend class BrowserChildProcessObserver; 99 friend class BrowserChildProcessObserver;
103 100
104 static BrowserChildProcessList* GetIterator(); 101 static BrowserChildProcessList* GetIterator();
(...skipping 29 matching lines...) Expand all
134 base::win::ObjectWatcher early_exit_watcher_; 131 base::win::ObjectWatcher early_exit_watcher_;
135 #endif 132 #endif
136 133
137 bool is_channel_connected_; 134 bool is_channel_connected_;
138 bool notify_child_disconnected_; 135 bool notify_child_disconnected_;
139 }; 136 };
140 137
141 } // namespace content 138 } // namespace content
142 139
143 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 140 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « components/metrics/proto/profiler_event.proto ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698