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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 1393193005: Implement $Secure- cookie prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add test Created 5 years, 2 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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 content::TracingDelegate* GetTracingDelegate() override; 246 content::TracingDelegate* GetTracingDelegate() override;
247 bool IsPluginAllowedToCallRequestOSFileHandle( 247 bool IsPluginAllowedToCallRequestOSFileHandle(
248 content::BrowserContext* browser_context, 248 content::BrowserContext* browser_context,
249 const GURL& url) override; 249 const GURL& url) override;
250 bool IsPluginAllowedToUseDevChannelAPIs( 250 bool IsPluginAllowedToUseDevChannelAPIs(
251 content::BrowserContext* browser_context, 251 content::BrowserContext* browser_context,
252 const GURL& url) override; 252 const GURL& url) override;
253 void OverridePageVisibilityState( 253 void OverridePageVisibilityState(
254 content::RenderFrameHost* render_frame_host, 254 content::RenderFrameHost* render_frame_host,
255 blink::WebPageVisibilityState* visibility_state) override; 255 blink::WebPageVisibilityState* visibility_state) override;
256 // TODO(estark): remove once we decide whether to ship cookie
257 // prefixes. https://crbug.com/541511
258 bool ExperimentalCookieFeaturesEnabled() override;
256 259
257 #if defined(OS_ANDROID) 260 #if defined(OS_ANDROID)
258 void GetAdditionalMappedFilesForChildProcess( 261 void GetAdditionalMappedFilesForChildProcess(
259 const base::CommandLine& command_line, 262 const base::CommandLine& command_line,
260 int child_process_id, 263 int child_process_id,
261 content::FileDescriptorInfo* mappings, 264 content::FileDescriptorInfo* mappings,
262 std::map<int, base::MemoryMappedFile::Region>* regions) override; 265 std::map<int, base::MemoryMappedFile::Region>* regions) override;
263 #elif defined(OS_POSIX) && !defined(OS_MACOSX) 266 #elif defined(OS_POSIX) && !defined(OS_MACOSX)
264 void GetAdditionalMappedFilesForChildProcess( 267 void GetAdditionalMappedFilesForChildProcess(
265 const base::CommandLine& command_line, 268 const base::CommandLine& command_line,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 bool allow); 317 bool allow);
315 318
316 static void RequestFileSystemPermissionOnUIThread( 319 static void RequestFileSystemPermissionOnUIThread(
317 int render_process_id, 320 int render_process_id,
318 int render_frame_id, 321 int render_frame_id,
319 const GURL& url, 322 const GURL& url,
320 bool allowed_by_default, 323 bool allowed_by_default,
321 const base::Callback<void(bool)>& callback); 324 const base::Callback<void(bool)>& callback);
322 #endif 325 #endif
323 326
327 bool experimental_web_platform_features_enabled_;
328
324 #if defined(ENABLE_PLUGINS) 329 #if defined(ENABLE_PLUGINS)
325 // Set of origins that can use TCP/UDP private APIs from NaCl. 330 // Set of origins that can use TCP/UDP private APIs from NaCl.
326 std::set<std::string> allowed_socket_origins_; 331 std::set<std::string> allowed_socket_origins_;
327 // Set of origins that can get a handle for FileIO from NaCl. 332 // Set of origins that can get a handle for FileIO from NaCl.
328 std::set<std::string> allowed_file_handle_origins_; 333 std::set<std::string> allowed_file_handle_origins_;
329 // Set of origins that can use "dev chanel" APIs from NaCl, even on stable 334 // Set of origins that can use "dev chanel" APIs from NaCl, even on stable
330 // versions of Chrome. 335 // versions of Chrome.
331 std::set<std::string> allowed_dev_channel_origins_; 336 std::set<std::string> allowed_dev_channel_origins_;
332 #endif 337 #endif
333 338
334 // Vector of additional ChromeContentBrowserClientParts. 339 // Vector of additional ChromeContentBrowserClientParts.
335 // Parts are deleted in the reverse order they are added. 340 // Parts are deleted in the reverse order they are added.
336 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 341 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
337 342
338 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 343 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
339 344
340 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 345 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
341 }; 346 };
342 347
343 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 348 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698