| OLD | NEW | 
|   1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |   1 // Copyright (c) 2011 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_WEBKITPLATFORMSUPPORT_IMPL_H_ |   5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 
|   6 #define CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |   6 #define CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 
|   7 #pragma once |   7 #pragma once | 
|   8  |   8  | 
|   9 #include "base/basictypes.h" |   9 #include "base/basictypes.h" | 
|  10 #include "base/memory/scoped_ptr.h" |  10 #include "base/memory/scoped_ptr.h" | 
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  43       const WebKit::WebString& path, unsigned quota); |  43       const WebKit::WebString& path, unsigned quota); | 
|  44   virtual void dispatchStorageEvent(const WebKit::WebString& key, |  44   virtual void dispatchStorageEvent(const WebKit::WebString& key, | 
|  45       const WebKit::WebString& oldValue, const WebKit::WebString& newValue, |  45       const WebKit::WebString& oldValue, const WebKit::WebString& newValue, | 
|  46       const WebKit::WebString& origin, const WebKit::WebURL& url, |  46       const WebKit::WebString& origin, const WebKit::WebURL& url, | 
|  47       bool isLocalStorage); |  47       bool isLocalStorage); | 
|  48   virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); |  48   virtual WebKit::WebSharedWorkerRepository* sharedWorkerRepository(); | 
|  49   virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, |  49   virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name, | 
|  50                                  bool sync_dir); |  50                                  bool sync_dir); | 
|  51   virtual void createIDBKeysFromSerializedValuesAndKeyPath( |  51   virtual void createIDBKeysFromSerializedValuesAndKeyPath( | 
|  52       const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, |  52       const WebKit::WebVector<WebKit::WebSerializedScriptValue>& values, | 
|  53       const WebKit::WebString& keyPath, |  53       const WebKit::WebIDBKeyPath& keyPath, | 
|  54       WebKit::WebVector<WebKit::WebIDBKey>& keys); |  54       WebKit::WebVector<WebKit::WebIDBKey>& keys); | 
|  55   virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( |  55   virtual WebKit::WebSerializedScriptValue injectIDBKeyIntoSerializedValue( | 
|  56       const WebKit::WebIDBKey& key, |  56       const WebKit::WebIDBKey& key, | 
|  57       const WebKit::WebSerializedScriptValue& value, |  57       const WebKit::WebSerializedScriptValue& value, | 
|  58       const WebKit::WebString& keyPath); |  58       const WebKit::WebIDBKeyPath& keyPath); | 
|  59  |  59  | 
|  60  private: |  60  private: | 
|  61   class SandboxSupport; |  61   class SandboxSupport; | 
|  62   scoped_ptr<SandboxSupport> sandbox_support_; |  62   scoped_ptr<SandboxSupport> sandbox_support_; | 
|  63  |  63  | 
|  64   DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); |  64   DISALLOW_COPY_AND_ASSIGN(PpapiWebKitPlatformSupportImpl); | 
|  65 }; |  65 }; | 
|  66  |  66  | 
|  67 #endif  // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ |  67 #endif  // CONTENT_PPAPI_PLUGIN_PPAPI_WEBKITPLATFORMSUPPORT_IMPL_H_ | 
| OLD | NEW |