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

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

Issue 7230052: Make kClearSiteDataOnExit work correctly for Flash in multi-profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 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_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 net::URLRequestContextGetter* request_context, 75 net::URLRequestContextGetter* request_context,
76 RenderWidgetHelper* render_widget_helper); 76 RenderWidgetHelper* render_widget_helper);
77 77
78 // BrowserMessageFilter methods: 78 // BrowserMessageFilter methods:
79 virtual void OverrideThreadForMessage(const IPC::Message& message, 79 virtual void OverrideThreadForMessage(const IPC::Message& message,
80 BrowserThread::ID* thread); 80 BrowserThread::ID* thread);
81 virtual bool OnMessageReceived(const IPC::Message& message, 81 virtual bool OnMessageReceived(const IPC::Message& message,
82 bool* message_was_ok); 82 bool* message_was_ok);
83 virtual void OnDestruct() const; 83 virtual void OnDestruct() const;
84 84
85 bool OffTheRecord() const;
86
85 int render_process_id() const { return render_process_id_; } 87 int render_process_id() const { return render_process_id_; }
86 ResourceDispatcherHost* resource_dispatcher_host() { 88 ResourceDispatcherHost* resource_dispatcher_host() {
87 return resource_dispatcher_host_; 89 return resource_dispatcher_host_;
88 } 90 }
89 bool incognito() { return incognito_; }
90 91
91 // Returns either the extension net::URLRequestContext or regular 92 // Returns either the extension net::URLRequestContext or regular
92 // net::URLRequestContext depending on whether |url| is an extension URL. 93 // net::URLRequestContext depending on whether |url| is an extension URL.
93 // Only call on the IO thread. 94 // Only call on the IO thread.
94 net::URLRequestContext* GetRequestContextForURL(const GURL& url); 95 net::URLRequestContext* GetRequestContextForURL(const GURL& url);
95 96
96 private: 97 private:
97 friend class BrowserThread; 98 friend class BrowserThread;
98 friend class DeleteTask<RenderMessageFilter>; 99 friend class DeleteTask<RenderMessageFilter>;
99 100
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 base::TimeTicks last_plugin_refresh_time_; 245 base::TimeTicks last_plugin_refresh_time_;
245 246
246 scoped_refptr<WebKitContext> webkit_context_; 247 scoped_refptr<WebKitContext> webkit_context_;
247 248
248 int render_process_id_; 249 int render_process_id_;
249 250
250 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter); 251 DISALLOW_COPY_AND_ASSIGN(RenderMessageFilter);
251 }; 252 };
252 253
253 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_ 254 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/plugin_process_host.cc ('k') | content/browser/renderer_host/render_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698