diff options
author | hallielaine@chromium.org <hallielaine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-09 23:11:06 +0000 |
---|---|---|
committer | hallielaine@chromium.org <hallielaine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-09 23:11:06 +0000 |
commit | 228b038f0a4b4a5fc3ac68f94b97d1a8df63dad8 (patch) | |
tree | 283a7a8b556130993f77a5ee3635d54fe4cfdd86 /chrome/browser/profiles/profile_manager_browsertest.cc | |
parent | 7a773d187ebff6321ca2b0d7e205da7286af54be (diff) | |
download | chromium_src-228b038f0a4b4a5fc3ac68f94b97d1a8df63dad8.zip chromium_src-228b038f0a4b4a5fc3ac68f94b97d1a8df63dad8.tar.gz chromium_src-228b038f0a4b4a5fc3ac68f94b97d1a8df63dad8.tar.bz2 |
Created a confirmation dialog for profile creation from the Settings Page. Added parameters to allow a name and icon to be passed into ProfileManager, from user input. Javascript/html/css all modeled after the workflow of editing a Profile.
BUG=123269
TEST= manual testing, passes unit tests
Review URL: https://chromiumcodereview.appspot.com/10674005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145776 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles/profile_manager_browsertest.cc')
-rw-r--r-- | chrome/browser/profiles/profile_manager_browsertest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/profiles/profile_manager_browsertest.cc b/chrome/browser/profiles/profile_manager_browsertest.cc index 0de18da..071b73b 100644 --- a/chrome/browser/profiles/profile_manager_browsertest.cc +++ b/chrome/browser/profiles/profile_manager_browsertest.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -73,7 +73,8 @@ IN_PROC_BROWSER_TEST_F(ProfileManagerBrowserTest, MAYBE_DeleteAllProfiles) { // Create an additional profile. FilePath new_path = profile_manager->GenerateNextProfileDirectoryPath(); profile_manager->CreateProfileAsync(new_path, - base::Bind(&OnUnblockOnProfileCreation)); + base::Bind(&OnUnblockOnProfileCreation), + string16(), string16()); // Spin to allow profile creation to take place, loop is terminated // by OnUnblockOnProfileCreation when the profile is created. |