Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: chrome/browser/extensions/data_deleter.cc

Issue 1212373004: Move AppIsolationInfo from chrome to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/extensions/extension_special_storage_policy.h" 8 #include "chrome/browser/extensions/extension_special_storage_policy.h"
9 #include "chrome/browser/extensions/extension_util.h" 9 #include "chrome/browser/extensions/extension_util.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/common/extensions/manifest_handlers/app_isolation_info.h"
12 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h" 11 #include "chrome/common/extensions/manifest_handlers/app_launch_info.h"
13 #include "content/public/browser/browser_context.h" 12 #include "content/public/browser/browser_context.h"
14 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/site_instance.h" 14 #include "content/public/browser/site_instance.h"
16 #include "content/public/browser/storage_partition.h" 15 #include "content/public/browser/storage_partition.h"
17 #include "extensions/browser/api/storage/storage_frontend.h" 16 #include "extensions/browser/api/storage/storage_frontend.h"
18 #include "extensions/browser/extension_prefs.h" 17 #include "extensions/browser/extension_prefs.h"
19 #include "extensions/browser/extension_system.h" 18 #include "extensions/browser/extension_system.h"
20 #include "extensions/common/constants.h" 19 #include "extensions/common/constants.h"
21 #include "extensions/common/extension.h" 20 #include "extensions/common/extension.h"
21 #include "extensions/common/manifest_handlers/app_isolation_info.h"
22 #include "net/url_request/url_request_context_getter.h" 22 #include "net/url_request/url_request_context_getter.h"
23 23
24 using base::WeakPtr; 24 using base::WeakPtr;
25 using content::BrowserContext; 25 using content::BrowserContext;
26 using content::BrowserThread; 26 using content::BrowserThread;
27 using content::StoragePartition; 27 using content::StoragePartition;
28 28
29 namespace extensions { 29 namespace extensions {
30 30
31 namespace { 31 namespace {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 114
115 // Begin removal of the settings for the current extension. 115 // Begin removal of the settings for the current extension.
116 // StorageFrontend may not exist in unit tests. 116 // StorageFrontend may not exist in unit tests.
117 StorageFrontend* frontend = StorageFrontend::Get(profile); 117 StorageFrontend* frontend = StorageFrontend::Get(profile);
118 if (frontend) 118 if (frontend)
119 frontend->DeleteStorageSoon(extension->id()); 119 frontend->DeleteStorageSoon(extension->id());
120 } 120 }
121 121
122 } // namespace extensions 122 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698