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 #include "chrome/browser/extensions/data_deleter.h" | 5 #include "chrome/browser/extensions/data_deleter.h" |
6 | 6 |
| 7 #include "chrome/browser/extensions/api/storage/settings_frontend.h" |
7 #include "chrome/browser/extensions/extension_service.h" | 8 #include "chrome/browser/extensions/extension_service.h" |
8 #include "chrome/browser/extensions/settings/settings_frontend.h" | |
9 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
10 #include "chrome/common/extensions/extension.h" | 10 #include "chrome/common/extensions/extension.h" |
11 #include "content/public/browser/browser_context.h" | 11 #include "content/public/browser/browser_context.h" |
12 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
13 #include "content/public/browser/storage_partition.h" | 13 #include "content/public/browser/storage_partition.h" |
14 #include "extensions/common/constants.h" | 14 #include "extensions/common/constants.h" |
15 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
16 | 16 |
17 using content::BrowserContext; | 17 using content::BrowserContext; |
18 using content::BrowserThread; | 18 using content::BrowserThread; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 partition->AsyncClearDataForOrigin(storage_origin, | 50 partition->AsyncClearDataForOrigin(storage_origin, |
51 partition->GetURLRequestContext()); | 51 partition->GetURLRequestContext()); |
52 } | 52 } |
53 | 53 |
54 // Begin removal of the settings for the current extension. | 54 // Begin removal of the settings for the current extension. |
55 profile->GetExtensionService()->settings_frontend()-> | 55 profile->GetExtensionService()->settings_frontend()-> |
56 DeleteStorageSoon(extension_id); | 56 DeleteStorageSoon(extension_id); |
57 } | 57 } |
58 | 58 |
59 } // namespace extensions | 59 } // namespace extensions |
OLD | NEW |