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

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

Issue 3358014: Cleanup some duplicated includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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
« no previous file with comments | « chrome/browser/chrome_plugin_host.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/shell_integration.h" 5 #include "chrome/browser/shell_integration.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <sys/stat.h> 9 #include <sys/stat.h>
10 #include <sys/types.h> 10 #include <sys/types.h>
(...skipping 10 matching lines...) Expand all
21 #include "base/i18n/file_util_icu.h" 21 #include "base/i18n/file_util_icu.h"
22 #include "base/message_loop.h" 22 #include "base/message_loop.h"
23 #include "base/path_service.h" 23 #include "base/path_service.h"
24 #include "base/process_util.h" 24 #include "base/process_util.h"
25 #include "base/scoped_temp_dir.h" 25 #include "base/scoped_temp_dir.h"
26 #include "base/string_number_conversions.h" 26 #include "base/string_number_conversions.h"
27 #include "base/string_tokenizer.h" 27 #include "base/string_tokenizer.h"
28 #include "base/string_util.h" 28 #include "base/string_util.h"
29 #include "base/task.h" 29 #include "base/task.h"
30 #include "base/thread.h" 30 #include "base/thread.h"
31 #include "base/string_number_conversions.h"
32 #include "base/utf_string_conversions.h" 31 #include "base/utf_string_conversions.h"
33 #include "chrome/browser/browser_process.h" 32 #include "chrome/browser/browser_process.h"
34 #include "chrome/common/chrome_constants.h" 33 #include "chrome/common/chrome_constants.h"
35 #include "chrome/common/chrome_paths.h" 34 #include "chrome/common/chrome_paths.h"
36 #include "chrome/common/chrome_plugin_util.h" 35 #include "chrome/common/chrome_plugin_util.h"
37 #include "chrome/common/chrome_switches.h" 36 #include "chrome/common/chrome_switches.h"
38 #include "chrome/browser/chrome_thread.h" 37 #include "chrome/browser/chrome_thread.h"
39 #include "gfx/codec/png_codec.h" 38 #include "gfx/codec/png_codec.h"
40 #include "googleurl/src/gurl.h" 39 #include "googleurl/src/gurl.h"
41 40
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 std::string contents = GetDesktopFileContents( 380 std::string contents = GetDesktopFileContents(
382 shortcut_template, shortcut_info.url, shortcut_info.extension_id, 381 shortcut_template, shortcut_info.url, shortcut_info.extension_id,
383 shortcut_info.title, icon_name); 382 shortcut_info.title, icon_name);
384 383
385 if (shortcut_info.create_on_desktop) 384 if (shortcut_info.create_on_desktop)
386 CreateShortcutOnDesktop(shortcut_filename, contents); 385 CreateShortcutOnDesktop(shortcut_filename, contents);
387 386
388 if (shortcut_info.create_in_applications_menu) 387 if (shortcut_info.create_in_applications_menu)
389 CreateShortcutInApplicationsMenu(shortcut_filename, contents); 388 CreateShortcutInApplicationsMenu(shortcut_filename, contents);
390 } 389 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_plugin_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698