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

Side by Side Diff: chrome/browser/ui/startup/startup_browser_creator_impl.h

Issue 243703003: Removes win8_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar Created 6 years, 8 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) 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 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_ 5 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_
6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_ 6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 Browser* browser, 138 Browser* browser,
139 chrome::startup::IsProcessStartup is_process_startup); 139 chrome::startup::IsProcessStartup is_process_startup);
140 140
141 // Adds additional startup URLs to the specified vector. 141 // Adds additional startup URLs to the specified vector.
142 void AddStartupURLs(std::vector<GURL>* startup_urls) const; 142 void AddStartupURLs(std::vector<GURL>* startup_urls) const;
143 143
144 // Checks whether the Preferences backup is invalid and notifies user in 144 // Checks whether the Preferences backup is invalid and notifies user in
145 // that case. 145 // that case.
146 void CheckPreferencesBackup(Profile* profile); 146 void CheckPreferencesBackup(Profile* profile);
147 147
148 // Function to open startup urls in an existing Browser instance for the
149 // profile passed in. Returns true on success.
150 static bool OpenStartupURLsInExistingBrowser(
151 Profile* profile,
152 const std::vector<GURL>& startup_urls);
153
154 const base::FilePath cur_dir_; 148 const base::FilePath cur_dir_;
155 const base::CommandLine& command_line_; 149 const base::CommandLine& command_line_;
156 Profile* profile_; 150 Profile* profile_;
157 StartupBrowserCreator* browser_creator_; 151 StartupBrowserCreator* browser_creator_;
158 bool is_first_run_; 152 bool is_first_run_;
159 DISALLOW_COPY_AND_ASSIGN(StartupBrowserCreatorImpl); 153 DISALLOW_COPY_AND_ASSIGN(StartupBrowserCreatorImpl);
160 }; 154 };
161 155
162 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_ 156 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator.cc ('k') | chrome/browser/ui/startup/startup_browser_creator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698