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

Side by Side Diff: chrome/browser/shell_integration_linux.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 months 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/shell_integration.h" 5 #include "chrome/browser/shell_integration.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <glib.h> 8 #include <glib.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <sys/stat.h> 10 #include <sys/stat.h>
11 #include <sys/types.h> 11 #include <sys/types.h>
12 #include <unistd.h> 12 #include <unistd.h>
13 13
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/base_paths.h" 17 #include "base/base_paths.h"
18 #include "base/command_line.h" 18 #include "base/command_line.h"
19 #include "base/eintr_wrapper.h" 19 #include "base/eintr_wrapper.h"
20 #include "base/environment.h" 20 #include "base/environment.h"
21 #include "base/file_path.h" 21 #include "base/file_path.h"
22 #include "base/file_util.h" 22 #include "base/file_util.h"
23 #include "base/i18n/file_util_icu.h" 23 #include "base/i18n/file_util_icu.h"
24 #include "base/message_loop.h" 24 #include "base/message_loop.h"
25 #include "base/path_service.h" 25 #include "base/path_service.h"
26 #include "base/process_util.h" 26 #include "base/process_util.h"
27 #include "base/scoped_temp_dir.h" 27 #include "base/scoped_temp_dir.h"
28 #include "base/string_number_conversions.h" 28 #include "base/string_number_conversions.h"
29 #include "base/string_tokenizer.h" 29 #include "base/string_tokenizer.h"
30 #include "base/task.h"
31 #include "base/threading/thread.h" 30 #include "base/threading/thread.h"
32 #include "base/utf_string_conversions.h" 31 #include "base/utf_string_conversions.h"
33 #include "build/build_config.h" 32 #include "build/build_config.h"
34 #include "chrome/browser/web_applications/web_app.h" 33 #include "chrome/browser/web_applications/web_app.h"
35 #include "chrome/common/chrome_constants.h" 34 #include "chrome/common/chrome_constants.h"
36 #include "chrome/common/chrome_paths.h" 35 #include "chrome/common/chrome_paths.h"
37 #include "content/public/browser/browser_thread.h" 36 #include "content/public/browser/browser_thread.h"
38 #include "googleurl/src/gurl.h" 37 #include "googleurl/src/gurl.h"
39 #include "ui/gfx/codec/png_codec.h" 38 #include "ui/gfx/codec/png_codec.h"
40 39
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 shortcut_info.extension_id, 602 shortcut_info.extension_id,
604 shortcut_info.title, 603 shortcut_info.title,
605 icon_name); 604 icon_name);
606 605
607 if (shortcut_info.create_on_desktop) 606 if (shortcut_info.create_on_desktop)
608 CreateShortcutOnDesktop(shortcut_filename, contents); 607 CreateShortcutOnDesktop(shortcut_filename, contents);
609 608
610 if (shortcut_info.create_in_applications_menu) 609 if (shortcut_info.create_in_applications_menu)
611 CreateShortcutInApplicationsMenu(shortcut_filename, contents); 610 CreateShortcutInApplicationsMenu(shortcut_filename, contents);
612 } 611 }
OLDNEW
« no previous file with comments | « chrome/browser/service/service_process_control.h ('k') | chrome/browser/sync/profile_sync_components_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698