| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_EXTENSIONS_EXTENSION_DATA_DELETER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_DATA_DELETER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DATA_DELETER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_DATA_DELETER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/ref_counted.h" | 9 #include "base/ref_counted.h" |
| 10 #include "base/string16.h" |
| 12 #include "chrome/browser/chrome_thread.h" | 11 #include "chrome/browser/chrome_thread.h" |
| 13 #include "chrome/browser/in_process_webkit/webkit_context.h" | 12 #include "chrome/browser/in_process_webkit/webkit_context.h" |
| 14 #include "chrome/common/net/url_request_context_getter.h" | 13 #include "chrome/common/net/url_request_context_getter.h" |
| 15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
| 16 #include "webkit/database/database_tracker.h" | 15 #include "webkit/database/database_tracker.h" |
| 17 | 16 |
| 18 class Profile; | 17 class Profile; |
| 19 | 18 |
| 20 // A helper class that takes care of removing local storage, databases and | 19 // A helper class that takes care of removing local storage, databases and |
| 21 // cookies for a given extension. This is used by | 20 // cookies for a given extension. This is used by |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // The security origin identifier for which we're deleting stuff. | 56 // The security origin identifier for which we're deleting stuff. |
| 58 string16 origin_id_; | 57 string16 origin_id_; |
| 59 | 58 |
| 60 // Webkit context for accessing the DOM storage helper. | 59 // Webkit context for accessing the DOM storage helper. |
| 61 scoped_refptr<WebKitContext> webkit_context_; | 60 scoped_refptr<WebKitContext> webkit_context_; |
| 62 | 61 |
| 63 DISALLOW_COPY_AND_ASSIGN(ExtensionDataDeleter); | 62 DISALLOW_COPY_AND_ASSIGN(ExtensionDataDeleter); |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DATA_DELETER_H_ | 65 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_DATA_DELETER_H_ |
| OLD | NEW |