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

Side by Side Diff: chrome/browser/profiles/profile_window.h

Issue 18615010: Refactor utility methods out of the ProfileManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unbreak rebase and added new static fn from trunk Created 7 years, 5 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/profiles/profile_manager.cc ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
7
8 #include "chrome/browser/ui/host_desktop.h"
9 #include "chrome/browser/ui/startup/startup_types.h"
10
11 class Profile;
12
13 namespace profiles {
14
15 // Activates a window for |profile| on the desktop specified by
16 // |desktop_type|. If no such window yet exists, or if |always_create| is
17 // true, this first creates a new window, then activates
18 // that. If activating an exiting window and multiple windows exists then the
19 // window that was most recently active is activated. This is used for
20 // creation of a window from the multi-profile dropdown menu.
21 void FindOrCreateNewWindowForProfile(
22 Profile* profile,
23 chrome::startup::IsProcessStartup process_startup,
24 chrome::startup::IsFirstRun is_first_run,
25 chrome::HostDesktopType desktop_type,
26 bool always_create);
27
28 } // namespace profiles
29
30 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_manager.cc ('k') | chrome/browser/profiles/profile_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698