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

Side by Side Diff: chrome/common/temp_scaffolding_stubs.cc

Issue 340020: Cleanup a few FirstRun methods that are only applicable to Windows. (Closed)
Patch Set: code review feedback" Created 11 years, 1 month 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/first_run_gtk.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/common/temp_scaffolding_stubs.h" 5 #include "chrome/common/temp_scaffolding_stubs.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/gfx/rect.h" 9 #include "base/gfx/rect.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 void AutomationProvider::OnMessageFromExternalHost( 74 void AutomationProvider::OnMessageFromExternalHost(
75 int handle, const std::string& message, const std::string& origin, 75 int handle, const std::string& message, const std::string& origin,
76 const std::string& target) { 76 const std::string& target) {
77 NOTIMPLEMENTED(); 77 NOTIMPLEMENTED();
78 } 78 }
79 79
80 #endif // defined(OS_MACOSX) 80 #endif // defined(OS_MACOSX)
81 81
82 //-------------------------------------------------------------------------- 82 //--------------------------------------------------------------------------
83
84 #if defined(OS_MACOSX)
85 // static
86 bool FirstRun::ProcessMasterPreferences(const FilePath& user_data_dir,
87 const FilePath& master_prefs_path,
88 std::vector<std::wstring>* new_tabs,
89 int* ping_delay,
90 bool* homepage_defined,
91 int* do_import_items,
92 int* dont_import_items) {
93 // http://code.google.com/p/chromium/issues/detail?id=11971
94 // Pretend we processed them correctly.
95 return true;
96 }
97
98 // static
99 int FirstRun::ImportNow(Profile* profile, const CommandLine& cmdline) {
100 // http://code.google.com/p/chromium/issues/detail?id=11971
101 return 0;
102 }
103 #endif
104
105 bool FirstRun::CreateChromeDesktopShortcut() {
106 NOTIMPLEMENTED();
107 return false;
108 }
109
110 bool FirstRun::CreateChromeQuickLaunchShortcut() {
111 NOTIMPLEMENTED();
112 return false;
113 }
114
115 // static 83 // static
116 bool Upgrade::IsBrowserAlreadyRunning() { 84 bool Upgrade::IsBrowserAlreadyRunning() {
117 // http://code.google.com/p/chromium/issues/detail?id=9295 85 // http://code.google.com/p/chromium/issues/detail?id=9295
118 return false; 86 return false;
119 } 87 }
120 88
121 // static 89 // static
122 bool Upgrade::RelaunchChromeBrowser(const CommandLine& command_line) { 90 bool Upgrade::RelaunchChromeBrowser(const CommandLine& command_line) {
123 // http://code.google.com/p/chromium/issues/detail?id=9295 91 // http://code.google.com/p/chromium/issues/detail?id=9295
124 return true; 92 return true;
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 //------------------------------------------------------------------------------ 187 //------------------------------------------------------------------------------
220 188
221 #if defined(OS_MACOSX) 189 #if defined(OS_MACOSX)
222 void ShowFontsLanguagesWindow(gfx::NativeWindow window, 190 void ShowFontsLanguagesWindow(gfx::NativeWindow window,
223 FontsLanguagesPage page, 191 FontsLanguagesPage page,
224 Profile* profile) { 192 Profile* profile) {
225 NOTIMPLEMENTED(); 193 NOTIMPLEMENTED();
226 } 194 }
227 #endif 195 #endif
228 196
OLDNEW
« no previous file with comments | « chrome/browser/first_run_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698