| 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 #include <stddef.h> | 
|    8  |    9  | 
|    9 #include "base/command_line.h" |   10 #include "base/command_line.h" | 
|   10 #include "base/files/file_enumerator.h" |   11 #include "base/files/file_enumerator.h" | 
|   11 #include "base/files/file_util.h" |   12 #include "base/files/file_util.h" | 
|   12 #include "base/logging.h" |   13 #include "base/logging.h" | 
 |   14 #include "base/macros.h" | 
|   13 #include "base/md5.h" |   15 #include "base/md5.h" | 
|   14 #include "base/memory/scoped_ptr.h" |   16 #include "base/memory/scoped_ptr.h" | 
|   15 #include "base/path_service.h" |   17 #include "base/path_service.h" | 
|   16 #include "base/strings/string16.h" |   18 #include "base/strings/string16.h" | 
|   17 #include "base/strings/string_piece.h" |   19 #include "base/strings/string_piece.h" | 
|   18 #include "base/strings/stringprintf.h" |   20 #include "base/strings/stringprintf.h" | 
|   19 #include "base/strings/utf_string_conversions.h" |   21 #include "base/strings/utf_string_conversions.h" | 
|   20 #include "base/win/shortcut.h" |   22 #include "base/win/shortcut.h" | 
|   21 #include "base/win/windows_version.h" |   23 #include "base/win/windows_version.h" | 
|   22 #include "chrome/browser/profiles/profile.h" |   24 #include "chrome/browser/profiles/profile.h" | 
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  614  |  616  | 
|  615 }  // namespace internals |  617 }  // namespace internals | 
|  616  |  618  | 
|  617 void UpdateShortcutForTabContents(content::WebContents* web_contents) { |  619 void UpdateShortcutForTabContents(content::WebContents* web_contents) { | 
|  618   // UpdateShortcutWorker will delete itself when it's done. |  620   // UpdateShortcutWorker will delete itself when it's done. | 
|  619   UpdateShortcutWorker* worker = new UpdateShortcutWorker(web_contents); |  621   UpdateShortcutWorker* worker = new UpdateShortcutWorker(web_contents); | 
|  620   worker->Run(); |  622   worker->Run(); | 
|  621 } |  623 } | 
|  622  |  624  | 
|  623 }  // namespace web_app |  625 }  // namespace web_app | 
| OLD | NEW |