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

Side by Side Diff: chrome/browser/web_applications/web_app_android.cc

Issue 231673005: Move ShortcutInfo, ShortcutLocations from ShellIntegration to web_app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Windws Created 6 years, 8 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 "chrome/browser/web_applications/web_app.h" 5 #include "chrome/browser/web_applications/web_app.h"
6 6
7 namespace web_app { 7 namespace web_app {
8 namespace internals { 8 namespace internals {
9 9
10 bool CreatePlatformShortcuts( 10 bool CreatePlatformShortcuts(
11 const base::FilePath& web_app_path, 11 const base::FilePath& web_app_path,
12 const ShellIntegration::ShortcutInfo& shortcut_info, 12 const web_app::ShortcutInfo& shortcut_info,
13 const ShellIntegration::ShortcutLocations& creation_locations, 13 const web_app::ShortcutLocations& creation_locations,
14 ShortcutCreationReason creation_reason) { 14 ShortcutCreationReason creation_reason) {
15 return true; 15 return true;
16 } 16 }
17 17
18 void DeletePlatformShortcuts( 18 void DeletePlatformShortcuts(
19 const base::FilePath& web_app_path, 19 const base::FilePath& web_app_path,
20 const ShellIntegration::ShortcutInfo& shortcut_info) {} 20 const web_app::ShortcutInfo& shortcut_info) {}
21 21
22 void UpdatePlatformShortcuts( 22 void UpdatePlatformShortcuts(
23 const base::FilePath& web_app_path, 23 const base::FilePath& web_app_path,
24 const base::string16& old_app_title, 24 const base::string16& old_app_title,
25 const ShellIntegration::ShortcutInfo& shortcut_info) {} 25 const web_app::ShortcutInfo& shortcut_info) {}
26 26
27 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) {} 27 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) {}
28 28
29 } // namespace internals 29 } // namespace internals
30 } // namespace web_app 30 } // namespace web_app
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698