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

Side by Side Diff: chrome/renderer/render_thread.h

Issue 567037: Initial work on making extensions work in incognito mode. (Closed)
Patch Set: added experimental requirement Created 10 years, 10 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
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_THREAD_H_ 5 #ifndef CHROME_RENDERER_RENDER_THREAD_H_
6 #define CHROME_RENDERER_RENDER_THREAD_H_ 6 #define CHROME_RENDERER_RENDER_THREAD_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 virtual void OnControlMessageReceived(const IPC::Message& msg); 155 virtual void OnControlMessageReceived(const IPC::Message& msg);
156 156
157 void Init(); 157 void Init();
158 158
159 void OnUpdateVisitedLinks(base::SharedMemoryHandle table); 159 void OnUpdateVisitedLinks(base::SharedMemoryHandle table);
160 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints); 160 void OnAddVisitedLinks(const VisitedLinkSlave::Fingerprints& fingerprints);
161 void OnResetVisitedLinks(); 161 void OnResetVisitedLinks();
162 void OnSetZoomLevelForCurrentHost(const std::string& host, int zoom_level); 162 void OnSetZoomLevelForCurrentHost(const std::string& host, int zoom_level);
163 void OnSetContentSettingsForCurrentHost( 163 void OnSetContentSettingsForCurrentHost(
164 const std::string& host, const ContentSettings& content_settings); 164 const std::string& host, const ContentSettings& content_settings);
165 void OnUpdateUserScripts(base::SharedMemoryHandle table); 165 void OnUpdateUserScripts(base::SharedMemoryHandle table,
166 bool only_inject_incognito);
166 void OnSetExtensionFunctionNames(const std::vector<std::string>& names); 167 void OnSetExtensionFunctionNames(const std::vector<std::string>& names);
167 void OnPageActionsUpdated(const std::string& extension_id, 168 void OnPageActionsUpdated(const std::string& extension_id,
168 const std::vector<std::string>& page_actions); 169 const std::vector<std::string>& page_actions);
169 void OnDOMStorageEvent(const ViewMsg_DOMStorageEvent_Params& params); 170 void OnDOMStorageEvent(const ViewMsg_DOMStorageEvent_Params& params);
170 void OnExtensionSetAPIPermissions( 171 void OnExtensionSetAPIPermissions(
171 const std::string& extension_id, 172 const std::string& extension_id,
172 const std::vector<std::string>& permissions); 173 const std::vector<std::string>& permissions);
173 void OnExtensionSetHostPermissions( 174 void OnExtensionSetHostPermissions(
174 const GURL& extension_url, 175 const GURL& extension_url,
175 const std::vector<URLPattern>& permissions); 176 const std::vector<URLPattern>& permissions);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 base::RepeatingTimer<RenderThread> idle_timer_; 259 base::RepeatingTimer<RenderThread> idle_timer_;
259 260
260 // Same as above, but on a longer timer and will run even if the process is 261 // Same as above, but on a longer timer and will run even if the process is
261 // not idle, to ensure that IdleHandle gets called eventually. 262 // not idle, to ensure that IdleHandle gets called eventually.
262 base::RepeatingTimer<RenderThread> forced_idle_timer_; 263 base::RepeatingTimer<RenderThread> forced_idle_timer_;
263 264
264 DISALLOW_COPY_AND_ASSIGN(RenderThread); 265 DISALLOW_COPY_AND_ASSIGN(RenderThread);
265 }; 266 };
266 267
267 #endif // CHROME_RENDERER_RENDER_THREAD_H_ 268 #endif // CHROME_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/common/render_messages_internal.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698