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

Side by Side Diff: chrome/browser/dom_ui/app_launcher_handler.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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 (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 #include "chrome/browser/dom_ui/app_launcher_handler.h" 5 #include "chrome/browser/dom_ui/app_launcher_handler.h"
6 6
7 #include "app/animation.h" 7 #include "app/animation.h"
8 #include "app/l10n_util.h"
9 #include "app/resource_bundle.h"
10 #include "base/base64.h" 8 #include "base/base64.h"
9 #include "base/string_util.h"
11 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
12 #include "base/values.h" 11 #include "base/values.h"
13 #include "chrome/browser/app_launched_animation.h" 12 #include "chrome/browser/app_launched_animation.h"
14 #include "chrome/browser/browser.h" 13 #include "chrome/browser/browser.h"
15 #include "chrome/browser/browser_list.h" 14 #include "chrome/browser/browser_list.h"
16 #include "chrome/browser/extensions/extensions_service.h" 15 #include "chrome/browser/extensions/extensions_service.h"
17 #include "chrome/browser/platform_util.h" 16 #include "chrome/browser/platform_util.h"
18 #include "chrome/browser/tab_contents/tab_contents.h" 17 #include "chrome/browser/tab_contents/tab_contents.h"
19 #include "chrome/common/chrome_switches.h" 18 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/extensions/extension.h" 19 #include "chrome/common/extensions/extension.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 return; 226 return;
228 } 227 }
229 228
230 // Make sure that the extension exists. 229 // Make sure that the extension exists.
231 Extension* extension = 230 Extension* extension =
232 extensions_service_->GetExtensionById(extension_id, false); 231 extensions_service_->GetExtensionById(extension_id, false);
233 DCHECK(extension); 232 DCHECK(extension);
234 233
235 extensions_service_->UninstallExtension(extension_id, false); 234 extensions_service_->UninstallExtension(extension_id, false);
236 } 235 }
OLDNEW
« no previous file with comments | « chrome/browser/diagnostics/sqlite_diagnostics.cc ('k') | chrome/browser/dom_ui/core_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698