/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 123 * HTTP response. After HTTPS session if finished test checks connection 163 * persistent. After HTTPS session if finished test checks connection state 797 SSLSession session = serverPeer.getSession(); 799 assertEquals(session.getCipherSuite(), clientConnection 802 assertEquals(session.getLocalPrincipal(), clientConnection 805 assertEquals(session.getPeerPrincipal(), clientConnection 810 Certificate[] localCertificates = session.getLocalCertificates(); 815 serverCertificates = session.getPeerCertificates(); 1059 public boolean verify(String hostname, SSLSession session) { argument 1062 + session [all...] |
/external/apache-http/src/org/apache/http/conn/ssl/ |
H A D | AbstractVerifier.java | 97 SSLSession session = ssl.getSession(); 98 Certificate[] certs = session.getPeerCertificates(); 103 public final boolean verify(String host, SSLSession session) { argument 105 Certificate[] certs = session.getPeerCertificates();
|
H A D | X509HostnameVerifier.java | 67 boolean verify(String host, SSLSession session); argument
|
/external/chromium_org/base/win/ |
H A D | event_trace_controller.h | 15 // A trace controller can create an event tracing session, which either 18 // A trace consumer consumes events from zero or one realtime session, 36 // event tracing session. 62 // Max string len for name and session name is 1024 per documentation. 65 // max length for name and session name. 86 // log levels and enable bit masks under the session. 92 // Start a session with given name and properties. 95 // Starts a session tracing to a file with some default properties. 100 // Starts a realtime session with some default properties. 104 // Enables "provider" at "level" for this session 138 TRACEHANDLE session() const { return session_; } function in class:base::win::EtwTraceController [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | ForeignSessionHelper.java | 23 * Callback interface for getting notified when foreign session sync is updated. 27 * This method will be called every time foreign session sync is updated. 37 * Represents synced foreign session. 66 * session. 100 ForeignSession session = new ForeignSession(tag, name, deviceType, modifiedTime); 101 sessions.add(session); 102 return session; 107 ForeignSession session, long timestamp, int sessionId) { 109 session.windows.add(window); 151 * Sets callback instance that will be called on every foreign session syn 106 pushWindow( ForeignSession session, long timestamp, int sessionId) argument 189 openForeignSessionTab(Tab tab, ForeignSession session, ForeignSessionTab foreignTab, int windowOpenDisposition) argument 202 deleteForeignSession(ForeignSession session) argument [all...] |
H A D | NewTabPagePrefs.java | 106 * Sets whether the given foreign session is collapsed (vs expanded) on the Recent Tabs page. 107 * @param session Session to set collapsed or expanded. 108 * @param isCollapsed Whether we want the foreign session to be collapsed. 110 public void setForeignSessionCollapsed(ForeignSession session, boolean isCollapsed) { argument 111 nativeSetForeignSessionCollapsed(mNativeNewTabPagePrefs, session.tag, isCollapsed); 115 * Gets whether the given foreign session is collapsed (vs expanded) on the Recent Tabs page. 116 * @param session Session to fetch collapsed state. 117 * @return Whether the given foreign session is collapsed (vs expanded) on the Recent Tabs page. 119 public boolean getForeignSessionCollapsed(ForeignSession session) { argument 120 return nativeGetForeignSessionCollapsed(mNativeNewTabPagePrefs, session [all...] |
/external/chromium_org/chrome/browser/android/ |
H A D | foreign_session_helper.cc | 73 bool ShouldSkipSession(const browser_sync::SyncedSession& session) { argument 75 session.windows.begin(); it != session.windows.end(); ++it) { 114 const SyncedSession& session, 117 session.windows.begin(); it != session.windows.end(); ++it) { 222 const browser_sync::SyncedSession &session = *(sessions[i]); local 223 if (ShouldSkipSession(session)) 226 const bool is_collapsed = collapsed_sessions->HasKey(session.session_tag); 229 pref_collapsed_sessions->SetBoolean(session [all...] |
/external/chromium_org/chrome/browser/devtools/ |
H A D | devtools_network_transaction_factory.cc | 15 net::HttpNetworkSession* session) 17 network_layer_(new net::HttpNetworkLayer(session)) { 13 DevToolsNetworkTransactionFactory( DevToolsNetworkController* controller, net::HttpNetworkSession* session) argument
|
/external/chromium_org/chrome/browser/drive/ |
H A D | fake_drive_service.cc | 1140 UploadSession* session = &upload_sessions_[upload_url]; local 1144 if (session->uploaded_size != start_position) { 1164 session->uploaded_size = end_position; 1171 session->uploaded_size = end_position; 1175 session->uploaded_size = end_position; 1178 if (session->resource_id.empty()) { 1179 DCHECK(!session->parent_resource_id.empty()); 1180 DCHECK(!session->title.empty()); 1183 session->content_type, 1185 session [all...] |
/external/chromium_org/chrome/browser/extensions/api/sessions/ |
H A D | sessions_api.cc | 53 const char kInvalidSessionIdError[] = "Invalid session id: \"*\"."; 55 "There are no browser windows to restore the session."; 342 const browser_sync::SyncedSession* session) { 350 device_struct->info = session->session_name; 351 device_struct->device_name = session->session_name; 354 session->windows.begin(); it != session->windows.end() && 357 *it->second, session->session_tag)); 341 CreateDeviceModel( const browser_sync::SyncedSession* session) argument
|
/external/chromium_org/chrome/browser/local_discovery/ |
H A D | privetv3_session.cc | 32 FetcherDelegate(const base::WeakPtr<PrivetV3Session>& session, 54 const base::WeakPtr<PrivetV3Session>& session, 56 : session_(session), request_(request) { 53 FetcherDelegate( const base::WeakPtr<PrivetV3Session>& session, Request* request) argument
|
H A D | privetv3_setup_operation.cc | 12 PrivetV3Session* session, 11 Create( PrivetV3Session* session, const SetupStatusCallback& callback, const std::string& ticket_id) argument
|
/external/chromium_org/chrome/browser/media/ |
H A D | media_capture_devices_dispatcher.cc | 1020 // session counts since not all requests will reach MEDIA_REQUEST_STATE_DONE, 1024 DesktopCaptureSession session = { render_process_id, render_frame_id, local 1026 desktop_capture_sessions_.push_back(session);
|
/external/chromium_org/chrome/browser/net/ |
H A D | preconnect.cc | 59 net::HttpNetworkSession* session = factory->GetSession(); local 109 session->ssl_config_service()->GetSSLConfig(&ssl_config); 110 session->GetNextProtos(&ssl_config.next_protos); 115 net::HttpStreamFactory* http_stream_factory = session->http_stream_factory();
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | profile_io_data.cc | 970 // The SSL session cache is partitioned by setting a string. This returns a 971 // unique string to partition the SSL session cache. Each time we create a 972 // new profile, we'll get a fresh SSL session cache which is separate from 1270 net::HttpNetworkSession* session = new net::HttpNetworkSession(params); local 1272 new DevToolsNetworkTransactionFactory(network_controller_.get(), session),
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
H A D | chrome_extension_externs.js | 1096 Cookie.prototype.session;
|
/external/chromium_org/chrome/browser/sessions/ |
H A D | session_restore_browsertest.cc | 137 // Create a new window, which should trigger session restore. 212 // Restart and session restore the tabs. 243 // Restart and session restore the tabs. 274 // Verify that session restore does not occur when a user opens a browser window 280 // not do session restore if an incognito window is already open. 335 // This test does not apply to ChromeOS as it does not do session restore when 347 // Makes sure when session restore is triggered in the same process we don't end 357 // Turn on session restore. 372 // Create a new window, which should trigger session restore. 431 // Find the SessionID for entry2. Since the session servic 653 std::vector<const SessionWindow*> session; local [all...] |
H A D | session_tab_helper.cc | 68 SessionService* session = SessionServiceFactory::GetForProfile(profile); local 69 if (session) 70 session->SetTabUserAgentOverride(window_id(), session_id(), user_agent);
|
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | session_sync_test_helper.cc | 52 const SyncedSession& session) { 53 ASSERT_EQ(tag, session.session_tag); 54 ASSERT_EQ(SyncedSession::TYPE_LINUX, session.device_type); 55 ASSERT_EQ(kClientName, session.session_name); 56 ASSERT_EQ(windows.size(), session.windows.size()); 65 session.windows.find(i); 66 if (map_iter != session.windows.end()) 49 VerifySyncedSession( const std::string& tag, const std::vector<std::vector<SessionID::id_type> >& windows, const SyncedSession& session) argument
|
H A D | synced_session_tracker.cc | 28 // Fill vector of sessions from our synced session map. 75 // We have no record of this session. 126 DVLOG(1) << "Creating new session with tag " << session_tag << " at " 139 SyncedSession* session = iter->second; local 141 delete session; // Delete the SyncedSession object. 250 "local session" : session_tag); 259 "local session" : session_tag); 273 // SessionWindow information of a SessionHeader node for a foreign session, 274 // and 2) The SessionHeader node for our local session changed. In both cases 285 // able to fully clean up a stale foreign session, bu [all...] |
H A D | synced_session_tracker_unittest.cc | 40 SyncedSession* session = tracker.GetSession("tag"); local 41 ASSERT_EQ(1U, session->windows.size()); 49 SyncedSession* session = tracker.GetSession("tag"); local 50 ASSERT_EQ(1U, session->windows.size()); 51 ASSERT_EQ(1U, session->windows[10]->tabs.size()); 52 ASSERT_EQ(tracker.GetTab("tag", 15, 1), session->windows[10]->tabs[0]); 70 // Only the session with a valid window and tab gets returned. 86 ASSERT_EQ(2U, windows.size()); // Only windows from tag1 session. 127 SyncedSession* session = tracker.GetSession(tag1); local 132 ASSERT_TRUE(session); [all...] |
/external/chromium_org/chrome/browser/sync/sessions/ |
H A D | sessions_sync_manager.cc | 46 // Default number of days without activity after which a session is considered 211 // changed after a session restore. 243 // Update this window's representation in the synced session tracker. 349 // Verify that tab IDs appear only once within a session. 388 // Associate tabs first so the synced session tracker is aware of them. 427 const SyncedSession* session = NULL; local 428 if (!session_tracker_.LookupLocalSession(&session)) 436 header_specifics->MergeFrom(session->ToSessionHeader()); 442 for (win_iter = session->windows.begin(); 443 win_iter != session 490 const sync_pb::SessionSpecifics& session = local 1027 const SyncedSession* session = *iter; local [all...] |
H A D | sessions_sync_manager_unittest.cc | 328 SyncedSession session; local 331 header_s, time, &session); 332 ASSERT_EQ("Client 1", session.session_name); 333 ASSERT_EQ(SyncedSession::TYPE_WIN, session.device_type); 334 ASSERT_EQ(time, session.modified_time); 337 // Test translation between protobuf types and chrome session types. 345 SyncedSession* session = manager()->session_tracker_.GetSession(tag); local 348 tag, window_s, base::Time(), session->windows[0]); 349 ASSERT_EQ(1U, session->windows[0]->tabs.size()); 350 ASSERT_EQ(1, session [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | sessions_helper.cc | 59 bool GetLocalSession(int index, const browser_sync::SyncedSession** session) { argument 62 GetLocalSession(session); 166 DVLOG(1) << "Waiting for session to propagate to associator."; 195 // The local session provided by GetLocalSession is owned, and has lifetime
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
H A D | recent_tabs_sub_menu_model.cc | 177 // Invoke asynchronous call to load tabs from local last session, which does 279 if (item.session_tag.empty()) { // Restore tab of local session. 286 } else { // Restore tab of session from other devices. 446 const browser_sync::SyncedSession* session = sessions[i]; local 447 const std::string& session_tag = session->session_tag; 449 // Get windows of session. 456 // Collect tabs from all windows of session, pruning those that are not 480 // Add the header for the device session. 481 DCHECK(!session->session_name.empty()); 485 AddItem(command_id, base::UTF8ToUTF16(session [all...] |