Chromium Code Reviews| Index: content/common/navigation_params.h |
| diff --git a/content/common/navigation_params.h b/content/common/navigation_params.h |
| index 7caceeb9dc0f7bc522b8522c9c1c90e9263e974c..82712a46262e9a2e86774dbcbb6173d1a53e8cbf 100644 |
| --- a/content/common/navigation_params.h |
| +++ b/content/common/navigation_params.h |
| @@ -17,10 +17,6 @@ |
| #include "ui/base/page_transition_types.h" |
| #include "url/gurl.h" |
| -namespace base { |
| -class RefCountedMemory; |
| -} |
| - |
| namespace content { |
| // The LoFi state which determines whether to add the Lo-Fi header. |
| @@ -305,6 +301,12 @@ struct CONTENT_EXPORT RequestNavigationParams { |
| // This parameter is not used in the current navigation architecture, where |
| // it will always be equal to kInvalidServiceWorkerProviderId. |
| int service_worker_provider_id; |
| + |
| +#if defined(OS_ANDROID) |
| + // The real content of the data: URL. Used to circumvent the restriction |
|
Charlie Reis
2015/12/14 20:35:57
nit: Can you add something about how this is only
mnaganov (inactive)
2015/12/15 18:30:29
Done.
|
| + // on the GURL max length. |
| + std::string data_url_as_string; |
| +#endif |
| }; |
| // Helper struct keeping track in one place of all the parameters the browser |