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_win.h" | 5 #include "chrome/browser/web_applications/web_app_win.h" |
6 | 6 |
7 #include <shlobj.h> | 7 #include <shlobj.h> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | |
11 #include "base/files/file_enumerator.h" | 10 #include "base/files/file_enumerator.h" |
| 11 #include "base/files/file_util.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/md5.h" | 13 #include "base/md5.h" |
14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
15 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
16 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
18 #include "base/win/shortcut.h" | 18 #include "base/win/shortcut.h" |
19 #include "base/win/windows_version.h" | 19 #include "base/win/windows_version.h" |
20 #include "chrome/browser/web_applications/update_shortcut_worker_win.h" | 20 #include "chrome/browser/web_applications/update_shortcut_worker_win.h" |
21 #include "chrome/common/chrome_switches.h" | 21 #include "chrome/common/chrome_switches.h" |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 | 619 |
620 } // namespace internals | 620 } // namespace internals |
621 | 621 |
622 void UpdateShortcutForTabContents(content::WebContents* web_contents) { | 622 void UpdateShortcutForTabContents(content::WebContents* web_contents) { |
623 // UpdateShortcutWorker will delete itself when it's done. | 623 // UpdateShortcutWorker will delete itself when it's done. |
624 UpdateShortcutWorker* worker = new UpdateShortcutWorker(web_contents); | 624 UpdateShortcutWorker* worker = new UpdateShortcutWorker(web_contents); |
625 worker->Run(); | 625 worker->Run(); |
626 } | 626 } |
627 | 627 |
628 } // namespace web_app | 628 } // namespace web_app |
OLD | NEW |