OLD | NEW |
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 "build/build_config.h" |
9 #include "chrome/browser/shell_integration_linux.h" | 10 #include "chrome/browser/shell_integration_linux.h" |
10 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
11 | 12 |
12 namespace web_app { | 13 namespace web_app { |
13 | 14 |
14 void UpdateShortcutsForAllApps(Profile* profile, | 15 void UpdateShortcutsForAllApps(Profile* profile, |
15 const base::Closure& callback) { | 16 const base::Closure& callback) { |
16 callback.Run(); | 17 callback.Run(); |
17 } | 18 } |
18 | 19 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 69 |
69 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) { | 70 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) { |
70 #if !defined(OS_CHROMEOS) | 71 #if !defined(OS_CHROMEOS) |
71 shell_integration_linux::DeleteAllDesktopShortcuts(profile_path); | 72 shell_integration_linux::DeleteAllDesktopShortcuts(profile_path); |
72 #endif | 73 #endif |
73 } | 74 } |
74 | 75 |
75 } // namespace internals | 76 } // namespace internals |
76 | 77 |
77 } // namespace web_app | 78 } // namespace web_app |
OLD | NEW |