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 <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" | 10 #include "base/file_util.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/md5.h" | 12 #include "base/md5.h" |
13 #include "base/path_service.h" | 13 #include "base/path_service.h" |
14 #include "base/stringprintf.h" | 14 #include "base/stringprintf.h" |
15 #include "base/strings/string_piece.h" | 15 #include "base/strings/string_piece.h" |
16 #include "base/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
17 #include "base/win/shortcut.h" | 17 #include "base/win/shortcut.h" |
18 #include "base/win/windows_version.h" | 18 #include "base/win/windows_version.h" |
19 #include "chrome/common/chrome_switches.h" | 19 #include "chrome/common/chrome_switches.h" |
20 #include "chrome/installer/launcher_support/chrome_launcher_support.h" | 20 #include "chrome/installer/launcher_support/chrome_launcher_support.h" |
21 #include "chrome/installer/util/util_constants.h" | 21 #include "chrome/installer/util/util_constants.h" |
22 #include "content/public/browser/browser_thread.h" | 22 #include "content/public/browser/browser_thread.h" |
23 #include "ui/gfx/icon_util.h" | 23 #include "ui/gfx/icon_util.h" |
24 #include "ui/gfx/image/image.h" | 24 #include "ui/gfx/image/image.h" |
25 #include "ui/gfx/image/image_family.h" | 25 #include "ui/gfx/image/image_family.h" |
26 | 26 |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 path = path.Append(locations[i].subdir); | 453 path = path.Append(locations[i].subdir); |
454 shortcut_paths.push_back(path); | 454 shortcut_paths.push_back(path); |
455 } | 455 } |
456 } | 456 } |
457 return shortcut_paths; | 457 return shortcut_paths; |
458 } | 458 } |
459 | 459 |
460 } // namespace internals | 460 } // namespace internals |
461 | 461 |
462 } // namespace web_app | 462 } // namespace web_app |
OLD | NEW |