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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 10916132: AppCache and StoragePartition'ing (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
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_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 // instead of in the channel so that we ensure they're sent after init related 260 // instead of in the channel so that we ensure they're sent after init related
261 // messages that are sent once the process handle is available. This is 261 // messages that are sent once the process handle is available. This is
262 // because the queued messages may have dependencies on the init messages. 262 // because the queued messages may have dependencies on the init messages.
263 std::queue<IPC::Message*> queued_messages_; 263 std::queue<IPC::Message*> queued_messages_;
264 264
265 // The globally-unique identifier for this RPH. 265 // The globally-unique identifier for this RPH.
266 int id_; 266 int id_;
267 267
268 BrowserContext* browser_context_; 268 BrowserContext* browser_context_;
269 269
270 // Owned by |browser_context_|. 270 scoped_refptr<StoragePartitionImpl> storage_partition_impl_;
271 StoragePartitionImpl* storage_partition_impl_;
272 271
273 // True if the process can be shut down suddenly. If this is true, then we're 272 // True if the process can be shut down suddenly. If this is true, then we're
274 // sure that all the RenderViews in the process can be shutdown suddenly. If 273 // sure that all the RenderViews in the process can be shutdown suddenly. If
275 // it's false, then specific RenderViews might still be allowed to be shutdown 274 // it's false, then specific RenderViews might still be allowed to be shutdown
276 // suddenly by checking their SuddenTerminationAllowed() flag. This can occur 275 // suddenly by checking their SuddenTerminationAllowed() flag. This can occur
277 // if one WebContents has an unload event listener but another WebContents in 276 // if one WebContents has an unload event listener but another WebContents in
278 // the same process doesn't. 277 // the same process doesn't.
279 bool sudden_termination_allowed_; 278 bool sudden_termination_allowed_;
280 279
281 // Set to true if we shouldn't send input events. We actually do the 280 // Set to true if we shouldn't send input events. We actually do the
282 // filtering for this at the render widget level. 281 // filtering for this at the render widget level.
283 bool ignore_input_events_; 282 bool ignore_input_events_;
284 283
285 // Records the last time we regarded the child process active. 284 // Records the last time we regarded the child process active.
286 base::TimeTicks child_process_activity_time_; 285 base::TimeTicks child_process_activity_time_;
287 286
288 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest 287 // Indicates whether this is a RenderProcessHost of a Browser Plugin guest
289 // renderer. 288 // renderer.
290 bool is_guest_; 289 bool is_guest_;
291 290
292 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 291 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
293 }; 292 };
294 293
295 } // namespace content 294 } // namespace content
296 295
297 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ 296 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698