| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 const base::FilePath& web_app_path, | 319 const base::FilePath& web_app_path, |
| 320 const ShellIntegration::ShortcutInfo& info) { | 320 const ShellIntegration::ShortcutInfo& info) { |
| 321 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); | 321 DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::FILE)); |
| 322 | 322 |
| 323 base::FilePath bundle_path = GetAppBundleByExtensionId(info.extension_id); | 323 base::FilePath bundle_path = GetAppBundleByExtensionId(info.extension_id); |
| 324 file_util::Delete(bundle_path, true); | 324 file_util::Delete(bundle_path, true); |
| 325 } | 325 } |
| 326 | 326 |
| 327 void UpdatePlatformShortcuts( | 327 void UpdatePlatformShortcuts( |
| 328 const base::FilePath& web_app_path, | 328 const base::FilePath& web_app_path, |
| 329 const string16& old_app_title, |
| 329 const ShellIntegration::ShortcutInfo& shortcut_info) { | 330 const ShellIntegration::ShortcutInfo& shortcut_info) { |
| 330 // TODO(benwells): Implement this when shortcuts / weblings are enabled on | 331 // TODO(benwells): Implement this when shortcuts / weblings are enabled on |
| 331 // mac. | 332 // mac. |
| 332 } | 333 } |
| 333 | 334 |
| 334 } // namespace internals | 335 } // namespace internals |
| 335 | 336 |
| 336 } // namespace web_app | 337 } // namespace web_app |
| OLD | NEW |