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

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

Issue 263403002: Replace OnceOffCreateShortcuts with UpdateShortcutsForAllAppsIfNeeded. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Check all extensions, not just enabled. Created 6 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 "chrome/browser/web_applications/web_app.h" 5 #include "chrome/browser/web_applications/web_app.h"
6 6
7 #include "base/environment.h" 7 #include "base/environment.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "chrome/browser/shell_integration_linux.h" 9 #include "chrome/browser/shell_integration_linux.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 creation_locations, 60 creation_locations,
61 SHORTCUT_CREATION_BY_USER); 61 SHORTCUT_CREATION_BY_USER);
62 } 62 }
63 63
64 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) { 64 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) {
65 #if !defined(OS_CHROMEOS) 65 #if !defined(OS_CHROMEOS)
66 ShellIntegrationLinux::DeleteAllDesktopShortcuts(profile_path); 66 ShellIntegrationLinux::DeleteAllDesktopShortcuts(profile_path);
67 #endif 67 #endif
68 } 68 }
69 69
70 void UpdateShortcutsForAllAppsForProfile(const base::FilePath& profile_path,
71 const std::set<std::string>& app_ids) {
72 }
73
70 } // namespace internals 74 } // namespace internals
71 75
72 } // namespace web_app 76 } // namespace web_app
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698