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

Side by Side Diff: chrome/browser/ui/app_list/extension_uninstaller.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/app_list/extension_uninstaller.h" 5 #include "chrome/browser/ui/app_list/extension_uninstaller.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_system.h"
9 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" 9 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
10 #include "extensions/browser/extension_system.h"
11 #include "extensions/common/extension.h" 11 #include "extensions/common/extension.h"
12 12
13 ExtensionUninstaller::ExtensionUninstaller( 13 ExtensionUninstaller::ExtensionUninstaller(
14 Profile* profile, 14 Profile* profile,
15 const std::string& extension_id, 15 const std::string& extension_id,
16 AppListControllerDelegate* controller) 16 AppListControllerDelegate* controller)
17 : profile_(profile), 17 : profile_(profile),
18 app_id_(extension_id), 18 app_id_(extension_id),
19 controller_(controller) { 19 controller_(controller) {
20 } 20 }
(...skipping 29 matching lines...) Expand all
50 } 50 }
51 51
52 void ExtensionUninstaller::ExtensionUninstallCanceled() { 52 void ExtensionUninstaller::ExtensionUninstallCanceled() {
53 controller_->OnCloseExtensionPrompt(); 53 controller_->OnCloseExtensionPrompt();
54 CleanUp(); 54 CleanUp();
55 } 55 }
56 56
57 void ExtensionUninstaller::CleanUp() { 57 void ExtensionUninstaller::CleanUp() {
58 delete this; 58 delete this;
59 } 59 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/extension_app_model_builder.cc ('k') | chrome/browser/ui/app_list/recommended_apps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698