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

Side by Side Diff: content/common/child_thread.h

Issue 7888024: Move handle dumpage to the renderer process (so that it works correctly) and factor out redundant... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « content/common/child_process_messages.h ('k') | content/common/child_thread.cc » ('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 CONTENT_COMMON_CHILD_THREAD_H_ 5 #ifndef CONTENT_COMMON_CHILD_THREAD_H_
6 #define CONTENT_COMMON_CHILD_THREAD_H_ 6 #define CONTENT_COMMON_CHILD_THREAD_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void OnProcessFinalRelease(); 80 void OnProcessFinalRelease();
81 81
82 virtual bool OnControlMessageReceived(const IPC::Message& msg); 82 virtual bool OnControlMessageReceived(const IPC::Message& msg);
83 virtual void OnAskBeforeShutdown(); 83 virtual void OnAskBeforeShutdown();
84 virtual void OnShutdown(); 84 virtual void OnShutdown();
85 85
86 #ifdef IPC_MESSAGE_LOG_ENABLED 86 #ifdef IPC_MESSAGE_LOG_ENABLED
87 virtual void OnSetIPCLoggingEnabled(bool enable); 87 virtual void OnSetIPCLoggingEnabled(bool enable);
88 #endif 88 #endif
89 89
90 virtual void OnDumpHandles();
91
90 void set_on_channel_error_called(bool on_channel_error_called) { 92 void set_on_channel_error_called(bool on_channel_error_called) {
91 on_channel_error_called_ = on_channel_error_called; 93 on_channel_error_called_ = on_channel_error_called;
92 } 94 }
93 95
94 private: 96 private:
95 void Init(); 97 void Init();
96 98
97 // IPC::Channel::Listener implementation: 99 // IPC::Channel::Listener implementation:
98 virtual bool OnMessageReceived(const IPC::Message& msg); 100 virtual bool OnMessageReceived(const IPC::Message& msg);
99 virtual void OnChannelError(); 101 virtual void OnChannelError();
(...skipping 27 matching lines...) Expand all
127 scoped_ptr<NotificationService> notification_service_; 129 scoped_ptr<NotificationService> notification_service_;
128 130
129 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_; 131 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_;
130 132
131 scoped_ptr<QuotaDispatcher> quota_dispatcher_; 133 scoped_ptr<QuotaDispatcher> quota_dispatcher_;
132 134
133 DISALLOW_COPY_AND_ASSIGN(ChildThread); 135 DISALLOW_COPY_AND_ASSIGN(ChildThread);
134 }; 136 };
135 137
136 #endif // CONTENT_COMMON_CHILD_THREAD_H_ 138 #endif // CONTENT_COMMON_CHILD_THREAD_H_
OLDNEW
« no previous file with comments | « content/common/child_process_messages.h ('k') | content/common/child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698