Searched refs:GetInteger (Results 1 - 25 of 101) sorted by relevance

12345

/external/chromium/chrome/browser/metrics/
H A Dmetrics_service_uitest.cc70 EXPECT_EQ(1, local_state->GetInteger(prefs::kStabilityLaunchCount));
71 EXPECT_EQ(3, local_state->GetInteger(prefs::kStabilityPageLoadCount));
72 EXPECT_EQ(0, local_state->GetInteger(prefs::kStabilityRendererCrashCount));
113 EXPECT_EQ(1, local_state->GetInteger(prefs::kStabilityLaunchCount));
114 EXPECT_EQ(4, local_state->GetInteger(prefs::kStabilityPageLoadCount));
115 EXPECT_EQ(1, local_state->GetInteger(prefs::kStabilityRendererCrashCount));
H A Dmetrics_log.cc128 pref->GetInteger(
134 pref->GetInteger(prefs::kStabilityBreakpadRegistrationSuccess));
137 pref->GetInteger(prefs::kStabilityBreakpadRegistrationFail));
140 pref->GetInteger(prefs::kStabilityDebuggerPresent));
143 pref->GetInteger(prefs::kStabilityDebuggerNotPresent));
172 plugin_dict->GetInteger(prefs::kStabilityPluginLaunches, &launches);
176 plugin_dict->GetInteger(prefs::kStabilityPluginInstances, &instances);
180 plugin_dict->GetInteger(prefs::kStabilityPluginCrashes, &crashes);
192 pref->GetInteger(prefs::kStabilityLaunchCount));
195 pref->GetInteger(pref
[all...]
H A Dmetrics_log_unittest.cc221 EXPECT_EQ(0, prefs.GetInteger(prefs::kStabilityChildProcessCrashCount));
222 EXPECT_EQ(0, prefs.GetInteger(prefs::kStabilityOtherUserCrashCount));
223 EXPECT_EQ(0, prefs.GetInteger(prefs::kStabilityKernelCrashCount));
224 EXPECT_EQ(0, prefs.GetInteger(prefs::kStabilitySystemUncleanShutdownCount));
/external/chromium/chrome/browser/prefs/
H A Dpref_service_uitest.cc116 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom",
121 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top",
126 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left",
131 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".right",
178 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".bottom",
183 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".top",
188 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".left",
193 EXPECT_TRUE(root_dict->GetInteger(kBrowserWindowPlacement + ".right",
H A Dbrowser_prefs.cc169 local_state->GetInteger(prefs::kMultipleProfilePrefMigration);
177 local_state->GetInteger(prefs::kDevToolsSplitLocation));
H A Dtesting_pref_store.h57 bool GetInteger(const std::string& key, int* value) const;
/external/chromium/chrome/browser/extensions/
H A Dextension_tts_api_util.cc27 if (!dict->GetInteger(key, &int_value))
H A Dextension_page_actions_module.cc44 EXTENSION_FUNCTION_VALIDATE(action->GetInteger(keys::kTabIdKey, &tab_id));
55 EXTENSION_FUNCTION_VALIDATE(action->GetInteger(keys::kIconIdKey,
122 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id));
152 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id));
167 } else if (args->GetInteger("iconIndex", &icon_index)) {
188 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id));
205 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id));
230 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabId", &tab_id));
240 EXTENSION_FUNCTION_VALIDATE(color_value->GetInteger(i, &color_array[i]));
256 EXTENSION_FUNCTION_VALIDATE(args->GetInteger("tabI
[all...]
H A Dextension_clipboard_api.cc22 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id));
H A Dextension_metrics_module.cc67 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, sample));
99 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(1, &sample));
112 EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("min", &min));
113 EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("max", &max));
114 EXTENSION_FUNCTION_VALIDATE(metric_type->GetInteger("buckets", &buckets));
H A Dextension_infobar_module.cc31 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kTabId, &tab_id));
H A Dextension_browser_actions_api.cc28 EXTENSION_FUNCTION_VALIDATE(details_->GetInteger("tabId", &tab_id_));
92 EXTENSION_FUNCTION_VALIDATE(list->GetInteger(i, &color_array[i]));
H A Dextension_tabs_module.cc257 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &window_id));
378 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kTabIdKey, &tab_id));
425 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kLeftKey,
432 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kTopKey,
439 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kWidthKey,
446 EXTENSION_FUNCTION_VALIDATE(args->GetInteger(keys::kHeightKey,
524 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &window_id));
541 EXTENSION_FUNCTION_VALIDATE(update_props->GetInteger(
549 EXTENSION_FUNCTION_VALIDATE(update_props->GetInteger(
557 EXTENSION_FUNCTION_VALIDATE(update_props->GetInteger(
[all...]
H A Dextension_context_menu_api.cc190 !properties.GetInteger(kParentIdKey, &parent_id.uid))
213 EXTENSION_FUNCTION_VALIDATE(properties->GetInteger(kGeneratedIdKey,
249 EXTENSION_FUNCTION_VALIDATE(properties->GetInteger(kParentIdKey,
274 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &item_id.uid));
341 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &id.uid));
H A Dextension_debugger_api.cc216 if (!dictionary->GetInteger("id", &id)) {
288 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id));
314 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id));
330 EXTENSION_FUNCTION_VALIDATE(args_->GetInteger(0, &tab_id));
/external/chromium/chrome/browser/automation/
H A Dautomation_provider_json.cc65 if (!args->GetInteger("windex", &browser_index)) {
82 if (!args->GetInteger("windex", &browser_index)) {
86 if (!args->GetInteger("tab_index", &tab_index)) {
/external/chromium/chrome/browser/ui/webui/
H A Dshown_sections_handler.cc48 return prefs->GetInteger(prefs::kNTPShownSections);
79 int sections = pref_service_->GetInteger(prefs::kNTPShownSections);
97 int old_mode = pref_service_->GetInteger(prefs::kNTPShownSections);
127 int shown_sections = pref_service->GetInteger(prefs::kNTPShownSections);
149 int mode = prefs->GetInteger(prefs::kNTPShownSections);
H A Dshown_sections_handler_unittest.cc22 return prefs->GetInteger(prefs::kNTPShownSections);
H A Dnew_tab_ui_uitest.cc170 prefs->GetInteger(prefs::kNTPPrefVersion));
174 ASSERT_EQ(0, prefs->GetInteger(prefs::kNTPPrefVersion));
179 prefs->GetInteger(prefs::kNTPPrefVersion));
/external/chromium/chrome/browser/importer/
H A Dfirefox_proxy_settings.cc169 if (!dictionary.GetInteger(kNetworkProxyTypeKey, &proxy_type))
184 if (!dictionary.GetInteger(kHTTPProxyPortKey,
190 if (!dictionary.GetInteger(kSSLProxyPortKey, &(settings->ssl_proxy_port_)))
194 if (!dictionary.GetInteger(kFTPProxyPortKey, &(settings->ftp_proxy_port_)))
198 if (!dictionary.GetInteger(kGopherProxyPortKey,
204 if (!dictionary.GetInteger(kSOCKSHostPortKey, &(settings->socks_port_)))
207 if (dictionary.GetInteger(kSOCKSVersionKey, &socks_version))
/external/chromium/chrome/browser/ui/views/
H A Dchrome_views_delegate.cc93 if (!dictionary || !dictionary->GetInteger("left", &left) ||
94 !dictionary->GetInteger("top", &top) ||
95 !dictionary->GetInteger("right", &right) ||
96 !dictionary->GetInteger("bottom", &bottom))
/external/chromium/chrome/browser/ui/
H A Dwindow_sizer.cc45 wp_pref->GetInteger("top", &top) &&
46 wp_pref->GetInteger("left", &left) &&
47 wp_pref->GetInteger("bottom", &bottom) &&
48 wp_pref->GetInteger("right", &right) &&
58 wp_pref->GetInteger("work_area_top", &work_area_top);
59 wp_pref->GetInteger("work_area_left", &work_area_left);
60 wp_pref->GetInteger("work_area_bottom", &work_area_bottom);
61 wp_pref->GetInteger("work_area_right", &work_area_right);
/external/chromium/chrome/browser/translate/
H A Dtranslate_prefs.cc97 return dict->GetInteger(language, &count) ? count : 0;
106 dict->GetInteger(language, &count);
119 return dict->GetInteger(language, &count) ? count : 0;
127 dict->GetInteger(language, &count);
/external/chromium/chrome/browser/chromeos/
H A Dcros_settings.h60 bool GetInteger(const std::string& path, int* out_value) const;
/external/chromium/chrome/browser/
H A Dbrowser_shutdown.cc310 static_cast<ShutdownType>(prefs->GetInteger(prefs::kShutdownType));
311 int num_procs = prefs->GetInteger(prefs::kShutdownNumProcesses);
312 int num_procs_slow = prefs->GetInteger(prefs::kShutdownNumProcessesSlow);

Completed in 3513 milliseconds

12345