| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ |
| 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ | 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 class GURL; | 10 class GURL; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 // Call this function to shutdown the simple resource loader bridge. | 27 // Call this function to shutdown the simple resource loader bridge. |
| 28 static void Shutdown(); | 28 static void Shutdown(); |
| 29 | 29 |
| 30 // May only be called after Init. | 30 // May only be called after Init. |
| 31 static void SetCookie(const GURL& url, | 31 static void SetCookie(const GURL& url, |
| 32 const GURL& first_party_for_cookies, | 32 const GURL& first_party_for_cookies, |
| 33 const std::string& cookie); | 33 const std::string& cookie); |
| 34 static std::string GetCookies(const GURL& url, | 34 static std::string GetCookies(const GURL& url, |
| 35 const GURL& first_party_for_cookies); | 35 const GURL& first_party_for_cookies); |
| 36 static bool EnsureIOThread(); | 36 static bool EnsureIOThread(); |
| 37 static void SetAcceptAllCookies(bool accept_all_cookies); |
| 37 }; | 38 }; |
| 38 | 39 |
| 39 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ | 40 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_RESOURCE_LOADER_BRIDGE_H__ |
| OLD | NEW |