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

Side by Side Diff: content/public/browser/render_process_host.h

Issue 293093010: Rename RenderProcessHost::IsGuest to RenderProcessHost::IsIsolatedGuest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_isguest_chrome_callsites
Patch Set: Created 6 years, 7 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_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/process/kill.h" 10 #include "base/process/kill.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 // Called when a received message cannot be decoded. 89 // Called when a received message cannot be decoded.
90 virtual void ReceivedBadMessage() = 0; 90 virtual void ReceivedBadMessage() = 0;
91 91
92 // Track the count of visible widgets. Called by listeners to register and 92 // Track the count of visible widgets. Called by listeners to register and
93 // unregister visibility. 93 // unregister visibility.
94 virtual void WidgetRestored() = 0; 94 virtual void WidgetRestored() = 0;
95 virtual void WidgetHidden() = 0; 95 virtual void WidgetHidden() = 0;
96 virtual int VisibleWidgetCount() const = 0; 96 virtual int VisibleWidgetCount() const = 0;
97 97
98 // Indicates whether the current RenderProcessHost associated with a guest 98 // Indicates whether the current RenderProcessHost associated with a guest
lazyboy 2014/05/27 19:22:22 This needs description, mostly what you have in CL
Fady Samuel 2014/05/27 21:56:34 Done.
99 // renderer process. 99 // renderer process.
100 virtual bool IsGuest() const = 0; 100 virtual bool IsIsolatedGuest() const = 0;
101 101
102 // Returns the storage partition associated with this process. 102 // Returns the storage partition associated with this process.
103 // 103 //
104 // TODO(nasko): Remove this function from the public API once 104 // TODO(nasko): Remove this function from the public API once
105 // URLRequestContextGetter's creation is moved into StoragePartition. 105 // URLRequestContextGetter's creation is moved into StoragePartition.
106 // http://crbug.com/158595 106 // http://crbug.com/158595
107 virtual StoragePartition* GetStoragePartition() const = 0; 107 virtual StoragePartition* GetStoragePartition() const = 0;
108 108
109 // Try to shutdown the associated renderer process as fast as possible. 109 // Try to shutdown the associated renderer process as fast as possible.
110 // If this renderer has any RenderViews with unload handlers, then this 110 // If this renderer has any RenderViews with unload handlers, then this
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 static void SetMaxRendererProcessCount(size_t count); 266 static void SetMaxRendererProcessCount(size_t count);
267 267
268 // Returns the current max number of renderer processes used by the content 268 // Returns the current max number of renderer processes used by the content
269 // module. 269 // module.
270 static size_t GetMaxRendererProcessCount(); 270 static size_t GetMaxRendererProcessCount();
271 }; 271 };
272 272
273 } // namespace content. 273 } // namespace content.
274 274
275 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_ 275 #endif // CONTENT_PUBLIC_BROWSER_RENDER_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698