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

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

Issue 10077001: [UMA] Use proper C++ objects to serialize tracked_objects across process boundaries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix yet another IWYU in the chromeos/ code... Created 8 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 | 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) 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_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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void OnProcessFinalRelease(); 93 void OnProcessFinalRelease();
94 94
95 virtual bool OnControlMessageReceived(const IPC::Message& msg); 95 virtual bool OnControlMessageReceived(const IPC::Message& msg);
96 virtual void OnShutdown(); 96 virtual void OnShutdown();
97 97
98 #ifdef IPC_MESSAGE_LOG_ENABLED 98 #ifdef IPC_MESSAGE_LOG_ENABLED
99 virtual void OnSetIPCLoggingEnabled(bool enable); 99 virtual void OnSetIPCLoggingEnabled(bool enable);
100 #endif 100 #endif
101 101
102 virtual void OnSetProfilerStatus(tracked_objects::ThreadData::Status status); 102 virtual void OnSetProfilerStatus(tracked_objects::ThreadData::Status status);
103 virtual void OnGetChildProfilerData(int sequence_number, 103 virtual void OnGetChildProfilerData(int sequence_number);
104 const std::string& process_type);
105 104
106 virtual void OnDumpHandles(); 105 virtual void OnDumpHandles();
107 106
108 void set_on_channel_error_called(bool on_channel_error_called) { 107 void set_on_channel_error_called(bool on_channel_error_called) {
109 on_channel_error_called_ = on_channel_error_called; 108 on_channel_error_called_ = on_channel_error_called;
110 } 109 }
111 110
112 private: 111 private:
113 void Init(); 112 void Init();
114 113
(...skipping 23 matching lines...) Expand all
138 MessageLoop* message_loop_; 137 MessageLoop* message_loop_;
139 138
140 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_; 139 scoped_ptr<FileSystemDispatcher> file_system_dispatcher_;
141 140
142 scoped_ptr<QuotaDispatcher> quota_dispatcher_; 141 scoped_ptr<QuotaDispatcher> quota_dispatcher_;
143 142
144 DISALLOW_COPY_AND_ASSIGN(ChildThread); 143 DISALLOW_COPY_AND_ASSIGN(ChildThread);
145 }; 144 };
146 145
147 #endif // CONTENT_COMMON_CHILD_THREAD_H_ 146 #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