Home
last modified time | relevance | path

Searched refs:user_agent_override (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/
Dbrowser_tabrestore.cc46 const std::string& user_agent_override, in CreateRestoredTab() argument
75 web_contents->SetUserAgentOverride(user_agent_override); in CreateRestoredTab()
96 const std::string& user_agent_override) { in AddRestoredTab() argument
103 user_agent_override, in AddRestoredTab()
147 const std::string& user_agent_override) { in ReplaceRestoredTab() argument
154 user_agent_override, in ReplaceRestoredTab()
Dbrowser_tab_restore_service_delegate.cc61 const std::string& user_agent_override) { in AddRestoredTab() argument
65 user_agent_override); in AddRestoredTab()
74 const std::string& user_agent_override) { in ReplaceRestoredTab() argument
77 session_storage_namespace, user_agent_override); in ReplaceRestoredTab()
Dbrowser_tabrestore.h46 const std::string& user_agent_override);
58 const std::string& user_agent_override);
Dbrowser_tab_restore_service_delegate.h42 const std::string& user_agent_override) OVERRIDE;
49 const std::string& user_agent_override) OVERRIDE;
/external/chromium_org/chrome/browser/sessions/
Dsession_types_unittest.cc50 tab.user_agent_override = "fake"; in TEST()
62 EXPECT_TRUE(tab.user_agent_override.empty()); in TEST()
85 tab.user_agent_override = "fake"; in TEST()
Dtab_restore_service_delegate.h60 const std::string& user_agent_override) = 0;
67 const std::string& user_agent_override) = 0;
Dbase_session_service.cc178 const std::string& user_agent_override) { in CreateSetTabUserAgentOverrideCommand() argument
191 user_agent_override); in CreateSetTabUserAgentOverrideCommand()
244 std::string* user_agent_override) { in RestoreSetTabUserAgentOverrideCommand() argument
251 pickle->ReadString(&iterator, user_agent_override); in RestoreSetTabUserAgentOverrideCommand()
Dbase_session_service.h108 const std::string& user_agent_override);
138 std::string* user_agent_override);
Dsession_service_test_helper.cc47 const std::string& user_agent_override) { in SetTabUserAgentOverride() argument
48 service()->SetTabUserAgentOverride(window_id, tab_id, user_agent_override); in SetTabUserAgentOverride()
Dpersistent_tab_restore_service.cc458 if (!tab.user_agent_override.empty()) { in ScheduleCommandsForTab()
461 tab.id, tab.user_agent_override)); in ScheduleCommandsForTab()
735 std::string user_agent_override; in CreateEntriesFromCommands() local
737 &user_agent_override)) { in CreateEntriesFromCommands()
740 current_tab->user_agent_override.swap(user_agent_override); in CreateEntriesFromCommands()
Dsession_types.h91 std::string user_agent_override; member
Dtab_restore_service_helper.cc256 tab.user_agent_override); in RestoreEntryById()
436 tab->user_agent_override = in PopulateTab()
464 tab.user_agent_override); in RestoreTab()
501 tab.user_agent_override); in RestoreTab()
Dsession_service_test_helper.h49 const std::string& user_agent_override);
Dtab_restore_service.h107 std::string user_agent_override; member
Dsession_types.cc33 user_agent_override.clear(); in SetFromSyncData()
Dsession_service.cc561 const std::string& user_agent_override) { in SetTabUserAgentOverride() argument
566 kCommandSetTabUserAgentOverride, tab_id.id(), user_agent_override)); in SetTabUserAgentOverride()
1293 std::string user_agent_override; in CreateTabsAndWindows() local
1295 *command, &tab_id, &user_agent_override)) { in CreateTabsAndWindows()
1299 GetTab(tab_id, tabs)->user_agent_override.swap(user_agent_override); in CreateTabsAndWindows()
Dsession_service_unittest.cc691 std::string user_agent_override = "Mozilla/5.0 (X11; Linux x86_64) " in TEST_F() local
702 helper_.SetTabUserAgentOverride(window_id, tab_id, user_agent_override); in TEST_F()
711 EXPECT_TRUE(user_agent_override == tab->user_agent_override); in TEST_F()
Dsession_restore.cc656 tab.user_agent_override); in RestoreForeignTab()
670 tab.user_agent_override); in RestoreForeignTab()
1048 tab.user_agent_override); in RestoreTab()
Dsession_service.h187 const std::string& user_agent_override);
Dpersistent_tab_restore_service_unittest.cc220 EXPECT_EQ("", tab->user_agent_override); in TEST_F()
243 EXPECT_EQ(user_agent_override_, tab->user_agent_override); in TEST_F()
/external/chromium_org/chrome/browser/prerender/
Dprerender_config.h54 std::string user_agent_override; member
/external/chromium_org/content/public/common/
Drenderer_preferences.h103 std::string user_agent_override; member
/external/chromium_org/extensions/browser/guest_view/web_view/
Dweb_view_guest.cc266 std::string user_agent_override; in DidAttachToEmbedder() local
268 &user_agent_override)) { in DidAttachToEmbedder()
269 SetUserAgentOverride(user_agent_override); in DidAttachToEmbedder()
598 const std::string& user_agent_override) { in SetUserAgentOverride() argument
601 is_overriding_user_agent_ = !user_agent_override.empty(); in SetUserAgentOverride()
605 web_contents()->SetUserAgentOverride(user_agent_override); in SetUserAgentOverride()
Dweb_view_guest.h218 void SetUserAgentOverride(const std::string& user_agent_override);
/external/chromium_org/content/browser/browser_plugin/
Dbrowser_plugin_guest.cc210 std::string guest_user_agent_override = renderer_prefs->user_agent_override; in Initialize()
218 renderer_prefs->user_agent_override = guest_user_agent_override; in Initialize()

12