| OLD | NEW | 
|   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_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |   5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 
|   6 #define CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |   6 #define CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 
|   7  |   7  | 
|   8 #include <stddef.h> |   8 #include <stddef.h> | 
|   9  |   9  | 
|  10 #include <memory> |  10 #include <memory> | 
| (...skipping 30 matching lines...) Expand all  Loading... | 
|  41   virtual blink::WebString cookies( |  41   virtual blink::WebString cookies( | 
|  42       const blink::WebURL& url, |  42       const blink::WebURL& url, | 
|  43       const blink::WebURL& first_party_for_cookies); |  43       const blink::WebURL& first_party_for_cookies); | 
|  44   blink::WebString DefaultLocale() override; |  44   blink::WebString DefaultLocale() override; | 
|  45   blink::WebThemeEngine* ThemeEngine() override; |  45   blink::WebThemeEngine* ThemeEngine() override; | 
|  46   std::unique_ptr<blink::WebURLLoader> CreateURLLoader() override; |  46   std::unique_ptr<blink::WebURLLoader> CreateURLLoader() override; | 
|  47   void GetPluginList(bool refresh, |  47   void GetPluginList(bool refresh, | 
|  48                      const blink::WebSecurityOrigin& mainFrameOrigin, |  48                      const blink::WebSecurityOrigin& mainFrameOrigin, | 
|  49                      blink::WebPluginListBuilder*) override; |  49                      blink::WebPluginListBuilder*) override; | 
|  50   blink::WebData LoadResource(const char* name) override; |  50   blink::WebData LoadResource(const char* name) override; | 
|  51   std::unique_ptr<blink::WebStorageNamespace> CreateLocalStorageNamespace() |  51   blink::WebStorageNamespace* CreateLocalStorageNamespace() override; | 
|  52       override; |  | 
|  53   virtual void dispatchStorageEvent(const blink::WebString& key, |  52   virtual void dispatchStorageEvent(const blink::WebString& key, | 
|  54       const blink::WebString& oldValue, const blink::WebString& newValue, |  53       const blink::WebString& oldValue, const blink::WebString& newValue, | 
|  55       const blink::WebString& origin, const blink::WebURL& url, |  54       const blink::WebString& origin, const blink::WebURL& url, | 
|  56       bool isLocalStorage); |  55       bool isLocalStorage); | 
|  57   int DatabaseDeleteFile(const blink::WebString& vfs_file_name, |  56   int DatabaseDeleteFile(const blink::WebString& vfs_file_name, | 
|  58                          bool sync_dir) override; |  57                          bool sync_dir) override; | 
|  59  |  58  | 
|  60  private: |  59  private: | 
|  61 #if !defined(OS_ANDROID) && !defined(OS_WIN) |  60 #if !defined(OS_ANDROID) && !defined(OS_WIN) | 
|  62   class SandboxSupport; |  61   class SandboxSupport; | 
|  63   std::unique_ptr<SandboxSupport> sandbox_support_; |  62   std::unique_ptr<SandboxSupport> sandbox_support_; | 
|  64 #endif |  63 #endif | 
|  65  |  64  | 
|  66   DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); |  65   DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); | 
|  67 }; |  66 }; | 
|  68  |  67  | 
|  69 }  // namespace content |  68 }  // namespace content | 
|  70  |  69  | 
|  71 #endif  // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |  70 #endif  // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 
| OLD | NEW |