Searched refs:profile_name (Results 1 - 25 of 50) sorted by relevance

12

/external/chromium_org/chrome/common/
H A Dprofiling.cc47 CR_DEFINE_STATIC_LOCAL(std::string, profile_name, ());
49 if (profile_name.empty()) {
52 profile_name = command_line.GetSwitchValueASCII(switches::kProfilingFile);
54 profile_name = std::string(kDefaultProfileName);
59 ReplaceSubstringsAfterOffset(&profile_name, 0, "{type}", type.c_str());
61 return profile_name;
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_info_cache_observer.h24 const base::string16& profile_name) {}
23 OnProfileWasRemoved(const base::FilePath& profile_path, const base::string16& profile_name) argument
H A Dprofile_info_cache_unittest.cc50 base::string16 profile_name = GetCache()->GetNameOfProfileAtIndex( local
52 EXPECT_TRUE(profile_names_.find(profile_name) == profile_names_.end());
53 profile_names_.insert(profile_name);
58 base::string16 profile_name = GetCache()->GetNameOfProfileAtIndex( local
60 EXPECT_TRUE(profile_names_.find(profile_name) != profile_names_.end());
61 profile_names_.erase(profile_name);
66 const base::string16& profile_name) {
67 EXPECT_TRUE(profile_names_.find(profile_name) == profile_names_.end());
83 base::string16 profile_name = GetCache()->GetNameOfProfileAtIndex( local
85 EXPECT_TRUE(profile_names_.find(profile_name) !
64 OnProfileWasRemoved( const base::FilePath& profile_path, const base::string16& profile_name) argument
132 base::string16 profile_name = local
166 base::string16 profile_name = local
464 base::string16 profile_name = ASCIIToUTF16("name_1"); local
511 const char* profile_name; member in struct:__anon4530
521 base::string16 profile_name = ASCIIToUTF16(kTestCases[i].profile_name); local
[all...]
H A Dprofile_shortcut_manager_win.h24 // single-user installation if |profile_name| is empty.
25 base::string16 GetShortcutFilenameForProfile(const base::string16& profile_name,
74 const base::string16& profile_name) OVERRIDE;
H A Dprofiles_state.cc73 const base::string16 profile_name = cache.GetNameOfProfileAtIndex(index); local
76 cache.IsDefaultProfileName(profile_name);
81 display_name = (is_default_name && !email.empty()) ? email : profile_name;
H A Dprofile_info_cache_unittest.h35 const base::string16& profile_name) OVERRIDE;
H A Dprofile_shortcut_manager_unittest_win.cc70 base::string16 profile_name = variable
74 ASSERT_FALSE(ProfileShortcutExistsAtDefaultPath(profile_name));
82 base::FilePath CreateProfileDirectory(const base::string16& profile_name) { argument
84 profile_info_cache_->GetUserDataDir().Append(profile_name);
118 const base::string16& profile_name) {
120 profiles::internal::GetShortcutFilenameForProfile(profile_name,
125 bool ProfileShortcutExistsAtDefaultPath(const base::string16& profile_name) { argument
127 GetDefaultShortcutPathForProfile(profile_name));
155 // |profile_name|'s shortcut.
157 const base::string16& profile_name,
117 GetDefaultShortcutPathForProfile( const base::string16& profile_name) argument
156 ValidateProfileShortcut(const tracked_objects::Location& location, const base::string16& profile_name, const base::FilePath& profile_path) argument
183 CreateProfileWithShortcut(const tracked_objects::Location& location, const base::string16& profile_name, const base::FilePath& profile_path) argument
[all...]
H A Dprofile_shortcut_manager_win.cc383 base::string16 profile_name; member in struct:__anon4538::CreateOrUpdateShortcutsParams
419 if (params.old_profile_name != params.profile_name) {
425 profiles::internal::GetShortcutFilenameForProfile(params.profile_name,
438 // Only set the profile-specific properties when |profile_name| is non empty.
441 if (!params.profile_name.empty()) {
463 profiles::internal::GetShortcutFilenameForProfile(params.profile_name,
576 const base::string16& profile_name) {
577 base::string16 sanitized = profile_name;
620 const base::string16& profile_name,
623 if (!profile_name
575 SanitizeShortcutProfileNameString( const base::string16& profile_name) argument
619 GetShortcutFilenameForProfile( const base::string16& profile_name, BrowserDistribution* distribution) argument
744 OnProfileWasRemoved( const base::FilePath& profile_path, const base::string16& profile_name) argument
[all...]
H A Dprofile_manager.cc597 std::string profile_name = chrome::kMultiProfileDirPrefix; local
598 profile_name.append(base::IntToString(next_directory));
601 new_path = new_path.Append(base::ASCIIToUTF16(profile_name));
603 new_path = new_path.Append(profile_name);
751 std::string profile_name; local
754 profile_name = l10n_util::GetStringUTF8(IDS_PROFILES_GUEST_PROFILE_NAME);
763 profile_name =
772 profile_name = is_new_avatar_menu ?
777 profile_name =
786 profile->GetPrefs()->SetString(prefs::kProfileName, profile_name);
1163 base::string16 profile_name = local
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/gperftools/
H A Dprofiler.h157 char profile_name[1024]; /* Name of profile file being written, or '\0' */ member in struct:ProfilerState
/external/chromium_org/third_party/tcmalloc/vendor/src/gperftools/
H A Dprofiler.h159 char profile_name[1024]; /* Name of profile file being written, or '\0' */ member in struct:ProfilerState
/external/chromium_org/chrome/test/base/
H A Dtesting_profile_manager.h44 // profile_name, which is a non-user-visible key for the test environment.
53 const std::string& profile_name,
71 void DeleteTestingProfile(const std::string& profile_name);
115 // Map of profile_name to TestingProfile* from CreateTestingProfile().
H A Dtesting_profile_manager.cc58 const std::string& profile_name,
69 if (profile_name != chrome::kInitialProfile) {
73 profile_name)));
75 profile_path = profile_path.AppendASCII(profile_name);
78 profile_path = profile_path.AppendASCII(profile_name);
93 profile->set_profile_name(profile_name);
105 testing_profiles_.insert(std::make_pair(profile_name, profile));
57 CreateTestingProfile( const std::string& profile_name, scoped_ptr<PrefServiceSyncable> prefs, const base::string16& user_name, int avatar_id, const std::string& supervised_user_id, const TestingProfile::TestingFactories& factories) argument
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dprofiler.cc240 int buf_size = sizeof(state->profile_name);
241 strncpy(state->profile_name, collector_state.profile_name, buf_size);
242 state->profile_name[buf_size-1] = '\0';
H A Dprofiledata.cc226 int buf_size = sizeof(state->profile_name);
227 strncpy(state->profile_name, fname_, buf_size);
228 state->profile_name[buf_size-1] = '\0';
233 state->profile_name[0] = '\0';
H A Dprofiledata.h83 char profile_name[1024]; // Name of file being written, or '\0' member in struct:ProfileData::State
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dprofiler.cc238 int buf_size = sizeof(state->profile_name);
239 strncpy(state->profile_name, collector_state.profile_name, buf_size);
240 state->profile_name[buf_size-1] = '\0';
H A Dprofiledata.cc226 int buf_size = sizeof(state->profile_name);
227 strncpy(state->profile_name, fname_, buf_size);
228 state->profile_name[buf_size-1] = '\0';
233 state->profile_name[0] = '\0';
H A Dprofiledata.h83 char profile_name[1024]; // Name of file being written, or '\0' member in struct:ProfileData::State
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Dlast_download_finder_unittest.cc124 std::string profile_name("profile");
125 profile_name.append(base::IntToString(++profile_number_));
146 profile_name,
148 base::UTF8ToUTF16(profile_name), // user_name
/external/chromium_org/chrome/browser/ui/views/profiles/
H A Dnew_avatar_button.h44 const base::string16& profile_name) OVERRIDE;
/external/chromium_org/chrome/common/importer/
H A Dfirefox_importer_utils.cc28 const std::string& profile_name) {
31 if (!root.GetStringASCII(profile_name + ".IsRelative", &is_relative) ||
32 !root.GetString(profile_name + ".Path", &path16))
52 const std::string& profile_name) {
54 root.GetStringASCII(profile_name + ".Default", &is_default);
27 GetProfilePath(const base::DictionaryValue& root, const std::string& profile_name) argument
51 IsDefaultProfile(const base::DictionaryValue& root, const std::string& profile_name) argument
/external/chromium_org/chrome/browser/background/
H A Dbackground_mode_manager.cc430 base::string16 profile_name = cache.GetNameOfProfileAtIndex( local
440 it->second->SetName(profile_name);
451 base::string16 profile_name = cache.GetNameOfProfileAtIndex( local
455 GetBackgroundModeIterator(profile_name);
828 const base::string16& profile_name) {
835 if (it->second->name() == profile_name) {
827 GetBackgroundModeIterator( const base::string16& profile_name) argument
/external/e2fsprogs/e2fsck/
H A De2fsck.h559 const char *profile_name,
564 const char *profile_name,
569 const char *profile_name,
574 const char *profile_name,
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dd1_srtp.c152 static int find_profile_by_name(char *profile_name, argument
160 if((len == strlen(p->name)) && !strncmp(p->name,profile_name,

Completed in 449 milliseconds

12