Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: chrome/browser/web_applications/web_app.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <shellapi.h> 8 #include <shellapi.h>
9 #include <shlobj.h> 9 #include <shlobj.h>
10 #endif // defined(OS_WIN) 10 #endif // defined(OS_WIN)
11 11
12 #include <algorithm> 12 #include <algorithm>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/file_util.h" 17 #include "base/file_util.h"
18 #include "base/md5.h" 18 #include "base/md5.h"
19 #include "base/message_loop.h" 19 #include "base/message_loop.h"
20 #include "base/path_service.h" 20 #include "base/path_service.h"
21 #include "base/thread.h" 21 #include "base/thread.h"
22 #include "base/scoped_ptr.h" 22 #include "base/scoped_ptr.h"
23 #include "base/utf_string_conversions.h" 23 #include "base/utf_string_conversions.h"
24 #include "base/win/windows_version.h" 24 #include "base/win/windows_version.h"
25 #include "chrome/browser/browser_thread.h" 25 #include "chrome/browser/browser_thread.h"
26 #include "chrome/browser/download/download_util.h" 26 #include "chrome/browser/download/download_util.h"
27 #include "chrome/browser/profile.h" 27 #include "chrome/browser/profiles/profile.h"
28 #include "chrome/browser/tab_contents/tab_contents.h" 28 #include "chrome/browser/tab_contents/tab_contents.h"
29 #include "chrome/common/chrome_constants.h" 29 #include "chrome/common/chrome_constants.h"
30 #include "chrome/common/chrome_paths.h" 30 #include "chrome/common/chrome_paths.h"
31 #include "chrome/common/chrome_plugin_util.h" 31 #include "chrome/common/chrome_plugin_util.h"
32 #include "chrome/common/notification_registrar.h" 32 #include "chrome/common/notification_registrar.h"
33 #include "chrome/common/notification_service.h" 33 #include "chrome/common/notification_service.h"
34 #include "chrome/common/url_constants.h" 34 #include "chrome/common/url_constants.h"
35 #include "chrome/common/web_apps.h" 35 #include "chrome/common/web_apps.h"
36 36
37 #if defined(OS_LINUX) 37 #if defined(OS_LINUX)
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 756
757 void UpdateShortcutForTabContents(TabContents* tab_contents) { 757 void UpdateShortcutForTabContents(TabContents* tab_contents) {
758 #if defined(OS_WIN) 758 #if defined(OS_WIN)
759 // UpdateShortcutWorker will delete itself when it's done. 759 // UpdateShortcutWorker will delete itself when it's done.
760 UpdateShortcutWorker* worker = new UpdateShortcutWorker(tab_contents); 760 UpdateShortcutWorker* worker = new UpdateShortcutWorker(tab_contents);
761 worker->Run(); 761 worker->Run();
762 #endif // defined(OS_WIN) 762 #endif // defined(OS_WIN)
763 } 763 }
764 764
765 }; // namespace web_app 765 }; // namespace web_app
OLDNEW
« no previous file with comments | « chrome/browser/visitedlink_unittest.cc ('k') | chrome/browser/web_resource/web_resource_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698