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 #import "chrome/browser/web_applications/web_app_mac.h" | 5 #import "chrome/browser/web_applications/web_app_mac.h" |
6 | 6 |
7 #import <Cocoa/Cocoa.h> | 7 #import <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 const base::FilePath& web_app_path, | 336 const base::FilePath& web_app_path, |
337 const ShellIntegration::ShortcutInfo& info) { | 337 const ShellIntegration::ShortcutInfo& info) { |
338 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); | 338 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); |
339 | 339 |
340 base::FilePath bundle_path = GetAppBundleByExtensionId(info.extension_id); | 340 base::FilePath bundle_path = GetAppBundleByExtensionId(info.extension_id); |
341 file_util::Delete(bundle_path, true); | 341 file_util::Delete(bundle_path, true); |
342 } | 342 } |
343 | 343 |
344 void UpdatePlatformShortcuts( | 344 void UpdatePlatformShortcuts( |
345 const base::FilePath& web_app_path, | 345 const base::FilePath& web_app_path, |
| 346 const string16& old_app_title, |
346 const ShellIntegration::ShortcutInfo& shortcut_info) { | 347 const ShellIntegration::ShortcutInfo& shortcut_info) { |
347 // TODO(benwells): Implement this when shortcuts / weblings are enabled on | 348 // TODO(benwells): Implement this when shortcuts / weblings are enabled on |
348 // mac. | 349 // mac. |
349 } | 350 } |
350 | 351 |
351 } // namespace internals | 352 } // namespace internals |
352 | 353 |
353 } // namespace web_app | 354 } // namespace web_app |
OLD | NEW |