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

Side by Side Diff: chrome/browser/first_run/first_run_gtk.cc

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/first_run/first_run.h" 5 #include "chrome/browser/first_run/first_run.h"
6 6
7 #include "app/app_switches.h" 7 #include "app/app_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/process_util.h" 12 #include "base/process_util.h"
13 #include "base/string_piece.h" 13 #include "base/string_piece.h"
14 #include "base/string_util.h" 14 #include "base/string_util.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/browser/shell_integration.h" 17 #include "chrome/browser/shell_integration.h"
18 #include "chrome/browser/ui/gtk/first_run_dialog.h" 18 #include "chrome/browser/ui/gtk/first_run_dialog.h"
19 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/result_codes.h"
21 #include "chrome/installer/util/google_update_settings.h" 20 #include "chrome/installer/util/google_update_settings.h"
21 #include "content/common/result_codes.h"
22 #include "googleurl/src/gurl.h" 22 #include "googleurl/src/gurl.h"
23 #include "ui/base/ui_base_switches.h" 23 #include "ui/base/ui_base_switches.h"
24 24
25 // TODO(port): This is just a piece of the silent import functionality from 25 // TODO(port): This is just a piece of the silent import functionality from
26 // ImportSettings for Windows. It would be nice to get the rest of it ported. 26 // ImportSettings for Windows. It would be nice to get the rest of it ported.
27 bool FirstRun::ImportBookmarks(const FilePath& import_bookmarks_path) { 27 bool FirstRun::ImportBookmarks(const FilePath& import_bookmarks_path) {
28 const CommandLine& cmdline = *CommandLine::ForCurrentProcess(); 28 const CommandLine& cmdline = *CommandLine::ForCurrentProcess();
29 CommandLine import_cmd(cmdline.GetProgram()); 29 CommandLine import_cmd(cmdline.GetProgram());
30 30
31 // Propagate user data directory switch. 31 // Propagate user data directory switch.
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool FirstRun::IsOrganic() { 93 bool FirstRun::IsOrganic() {
94 // We treat all installs as organic. 94 // We treat all installs as organic.
95 return true; 95 return true;
96 } 96 }
97 97
98 // static 98 // static
99 void FirstRun::PlatformSetup() { 99 void FirstRun::PlatformSetup() {
100 // Things that Windows does here (creating a desktop icon, for example) are 100 // Things that Windows does here (creating a desktop icon, for example) are
101 // handled at install time on Linux. 101 // handled at install time on Linux.
102 } 102 }
OLDNEW
« no previous file with comments | « chrome/browser/first_run/first_run.h ('k') | chrome/browser/hang_monitor/hung_window_detector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698