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

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

Issue 16387014: Use a direct include of utf_string_conversions.h in chrome/browser/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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
« no previous file with comments | « chrome/browser/shell_integration.cc ('k') | chrome/browser/shell_integration_unittest.cc » ('j') | 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) 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/shell_integration_linux.h" 5 #include "chrome/browser/shell_integration_linux.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>
(...skipping 11 matching lines...) Expand all
22 #include "base/files/scoped_temp_dir.h" 22 #include "base/files/scoped_temp_dir.h"
23 #include "base/i18n/file_util_icu.h" 23 #include "base/i18n/file_util_icu.h"
24 #include "base/memory/ref_counted_memory.h" 24 #include "base/memory/ref_counted_memory.h"
25 #include "base/memory/scoped_ptr.h" 25 #include "base/memory/scoped_ptr.h"
26 #include "base/message_loop.h" 26 #include "base/message_loop.h"
27 #include "base/path_service.h" 27 #include "base/path_service.h"
28 #include "base/posix/eintr_wrapper.h" 28 #include "base/posix/eintr_wrapper.h"
29 #include "base/process_util.h" 29 #include "base/process_util.h"
30 #include "base/strings/string_number_conversions.h" 30 #include "base/strings/string_number_conversions.h"
31 #include "base/strings/string_tokenizer.h" 31 #include "base/strings/string_tokenizer.h"
32 #include "base/strings/utf_string_conversions.h"
32 #include "base/threading/thread.h" 33 #include "base/threading/thread.h"
33 #include "base/threading/thread_restrictions.h" 34 #include "base/threading/thread_restrictions.h"
34 #include "base/utf_string_conversions.h"
35 #include "build/build_config.h" 35 #include "build/build_config.h"
36 #include "chrome/browser/web_applications/web_app.h" 36 #include "chrome/browser/web_applications/web_app.h"
37 #include "chrome/common/chrome_constants.h" 37 #include "chrome/common/chrome_constants.h"
38 #include "content/public/browser/browser_thread.h" 38 #include "content/public/browser/browser_thread.h"
39 #include "googleurl/src/gurl.h" 39 #include "googleurl/src/gurl.h"
40 #include "ui/gfx/image/image_family.h" 40 #include "ui/gfx/image/image_family.h"
41 41
42 using content::BrowserThread; 42 using content::BrowserThread;
43 43
44 namespace { 44 namespace {
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 // Delete shortcuts from |kDirectoryFilename|. 849 // Delete shortcuts from |kDirectoryFilename|.
850 // Note that it is possible that shortcuts were not created in the Chrome Apps 850 // Note that it is possible that shortcuts were not created in the Chrome Apps
851 // directory (depending on the value of |applications_menu_subdir| when they 851 // directory (depending on the value of |applications_menu_subdir| when they
852 // were created). It doesn't matter: this will still delete the shortcut even 852 // were created). It doesn't matter: this will still delete the shortcut even
853 // if it isn't in the directory. 853 // if it isn't in the directory.
854 DeleteShortcutInApplicationsMenu(shortcut_filename, 854 DeleteShortcutInApplicationsMenu(shortcut_filename,
855 base::FilePath(kDirectoryFilename)); 855 base::FilePath(kDirectoryFilename));
856 } 856 }
857 857
858 } // namespace ShellIntegrationLinux 858 } // namespace ShellIntegrationLinux
OLDNEW
« no previous file with comments | « chrome/browser/shell_integration.cc ('k') | chrome/browser/shell_integration_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698