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

123

/external/chromium/chrome/common/
H A Dprofiling.cc17 static std::string profile_name; local
19 if (profile_name.empty()) {
22 profile_name = command_line.GetSwitchValueASCII(switches::kProfilingFile);
24 profile_name = std::string(kDefaultProfileName);
29 ReplaceSubstringsAfterOffset(&profile_name, 0, "{type}", type.c_str());
31 return profile_name;
/external/chromium_org/chrome/test/base/
H A Dtesting_profile_manager.h43 // profile_name, which is a non-user-visible key for the test environment.
50 TestingProfile* CreateTestingProfile(const std::string& profile_name,
60 void DeleteTestingProfile(const std::string& profile_name);
97 // Map of profile_name to TestingProfile* from CreateTestingProfile().
H A Dtesting_profile_manager.cc48 const std::string& profile_name,
57 profile_path = profile_path.AppendASCII(profile_name);
76 testing_profiles_.insert(std::make_pair(profile_name, profile));
47 CreateTestingProfile( const std::string& profile_name, scoped_ptr<PrefServiceSyncable> prefs, const string16& user_name, int avatar_id, const std::string& managed_user_id) argument
/external/chromium_org/chrome/common/
H A Dprofiling.cc46 CR_DEFINE_STATIC_LOCAL(std::string, profile_name, ());
48 if (profile_name.empty()) {
51 profile_name = command_line.GetSwitchValueASCII(switches::kProfilingFile);
53 profile_name = std::string(kDefaultProfileName);
58 ReplaceSubstringsAfterOffset(&profile_name, 0, "{type}", type.c_str());
60 return profile_name;
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_info_cache_observer.h24 const string16& profile_name) {}
23 OnProfileWasRemoved(const base::FilePath& profile_path, const string16& profile_name) argument
H A Dprofile_info_cache_unittest.cc38 string16 profile_name = GetCache()->GetNameOfProfileAtIndex( local
40 EXPECT_TRUE(profile_names_.find(profile_name) == profile_names_.end());
41 profile_names_.insert(profile_name);
46 string16 profile_name = GetCache()->GetNameOfProfileAtIndex( local
48 EXPECT_TRUE(profile_names_.find(profile_name) != profile_names_.end());
49 profile_names_.erase(profile_name);
54 const string16& profile_name) {
55 EXPECT_TRUE(profile_names_.find(profile_name) == profile_names_.end());
71 string16 profile_name = GetCache()->GetNameOfProfileAtIndex( local
73 EXPECT_TRUE(profile_names_.find(profile_name) !
52 OnProfileWasRemoved( const base::FilePath& profile_path, const string16& profile_name) argument
122 string16 profile_name = ASCIIToUTF16(base::StringPrintf("name_%ud", i)); local
153 string16 profile_name = ASCIIToUTF16(base::StringPrintf("name_%ud", i)); local
427 string16 profile_name = ASCIIToUTF16("name_1"); local
[all...]
H A Dprofile_shortcut_manager_win.h24 // single-user installation if |profile_name| is empty.
25 string16 GetShortcutFilenameForProfile(const string16& profile_name,
70 const string16& profile_name) OVERRIDE;
H A Dprofile_info_cache_unittest.h35 const string16& profile_name) OVERRIDE;
H A Dprofile_shortcut_manager_unittest_win.cc70 string16 profile_name = profile_info_cache_->GetNameOfProfileAtIndex(0); variable
73 ASSERT_FALSE(ProfileShortcutExistsAtDefaultPath(profile_name));
81 base::FilePath CreateProfileDirectory(const string16& profile_name) { argument
83 profile_info_cache_->GetUserDataDir().Append(profile_name);
117 const string16& profile_name) {
119 profiles::internal::GetShortcutFilenameForProfile(profile_name,
124 bool ProfileShortcutExistsAtDefaultPath(const string16& profile_name) { argument
126 GetDefaultShortcutPathForProfile(profile_name));
154 // |profile_name|'s shortcut.
156 const string16& profile_name,
116 GetDefaultShortcutPathForProfile( const string16& profile_name) argument
155 ValidateProfileShortcut(const tracked_objects::Location& location, const string16& profile_name, const base::FilePath& profile_path) argument
182 CreateProfileWithShortcut(const tracked_objects::Location& location, const string16& profile_name, const base::FilePath& profile_path) argument
[all...]
H A Dprofile_shortcut_manager_win.cc395 string16 profile_name; member in struct:__anon5617::CreateOrUpdateShortcutsParams
433 if (params.old_profile_name != params.profile_name) {
439 profiles::internal::GetShortcutFilenameForProfile(params.profile_name,
452 // Only set the profile-specific properties when |profile_name| is non empty.
455 if (!params.profile_name.empty()) {
477 profiles::internal::GetShortcutFilenameForProfile(params.profile_name,
586 string16 SanitizeShortcutProfileNameString(const string16& profile_name) { argument
587 string16 sanitized = profile_name;
624 string16 GetShortcutFilenameForProfile(const string16& profile_name, argument
627 if (!profile_name
718 OnProfileWasRemoved( const base::FilePath& profile_path, const string16& profile_name) argument
[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/browser/performance_monitor/
H A Dperformance_monitor_util.cc63 const std::string& profile_name) {
67 event.profile_name = profile_name;
62 CreateUncleanExitEvent(const base::Time& time, const std::string& profile_name) argument
H A Dperformance_monitor_util.h45 const std::string& profile_name);
/external/chromium_org/chrome_frame/
H A Ddelete_chrome_history.h55 virtual void GetProfilePath(const std::wstring& profile_name,
H A Dchrome_frame_plugin.h68 bool InitializeAutomation(const std::wstring& profile_name, argument
78 GetProfilePath(profile_name, &profile_path);
240 virtual void GetProfilePath(const std::wstring& profile_name, argument
242 return GetChromeFrameProfilePath(profile_name, profile_path);
H A Ddelete_chrome_history.cc45 void DeleteChromeHistory::GetProfilePath(const std::wstring& profile_name, 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_frame/test/
H A Dproxy_factory_mock.cc24 ChromeFrameLaunchParams* MakeLaunchParams(const wchar_t* profile_name);
35 const wchar_t* profile_name) {
38 GetChromeFrameProfilePath(profile_name, &profile_path);
34 MakeLaunchParams( const wchar_t* profile_name) argument
/external/chromium_org/chrome/common/importer/
H A Dfirefox_importer_utils.cc27 const std::string& profile_name) {
30 if (!root.GetStringASCII(profile_name + ".IsRelative", &is_relative) ||
31 !root.GetString(profile_name + ".Path", &path16))
51 const std::string& profile_name) {
53 root.GetStringASCII(profile_name + ".Default", &is_default);
26 GetProfilePath(const DictionaryValue& root, const std::string& profile_name) argument
50 IsDefaultProfile(const DictionaryValue& root, const std::string& profile_name) argument

Completed in 722 milliseconds

123