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

Side by Side Diff: apps/shortcut_manager.cc

Issue 15735027: Use a direct include of utf_string_conversions.h in android_webview/, apps/, ash/, base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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) 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 "apps/shortcut_manager.h" 5 #include "apps/shortcut_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/string16.h" 9 #include "base/string16.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "chrome/browser/shell_integration.h" 11 #include "chrome/browser/shell_integration.h"
12 #include "chrome/browser/ui/web_applications/web_app_ui.h" 12 #include "chrome/browser/ui/web_applications/web_app_ui.h"
13 #include "chrome/browser/web_applications/web_app.h" 13 #include "chrome/browser/web_applications/web_app.h"
14 #include "chrome/common/chrome_notification_types.h" 14 #include "chrome/common/chrome_notification_types.h"
15 #include "content/public/browser/notification_details.h" 15 #include "content/public/browser/notification_details.h"
16 #include "content/public/browser/notification_source.h" 16 #include "content/public/browser/notification_source.h"
17 17
18 using extensions::Extension; 18 using extensions::Extension;
19 19
20 namespace { 20 namespace {
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } 89 }
90 90
91 void ShortcutManager::DeleteApplicationShortcuts( 91 void ShortcutManager::DeleteApplicationShortcuts(
92 const Extension* extension) { 92 const Extension* extension) {
93 ShellIntegration::ShortcutInfo delete_info = 93 ShellIntegration::ShortcutInfo delete_info =
94 web_app::ShortcutInfoForExtensionAndProfile(extension, profile_); 94 web_app::ShortcutInfoForExtensionAndProfile(extension, profile_);
95 web_app::DeleteAllShortcuts(delete_info); 95 web_app::DeleteAllShortcuts(delete_info);
96 } 96 }
97 97
98 } // namespace apps 98 } // namespace apps
OLDNEW
« no previous file with comments | « android_webview/renderer/aw_content_renderer_client.cc ('k') | ash/desktop_background/desktop_background_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698