/external/chromium/chrome/browser/ui/search_engines/ |
search_engine_tab_helper.cc | 93 // a form submit and use its url to generate the keyword from. 103 // We want to use the user typed URL if available since that represents what 104 // the user typed to get here, and fall back on the regular URL if not. 108 base_entry->user_typed_url() : base_entry->url(); 121 base_entry->favicon().url(), 151 previous_entry->user_typed_url() : previous_entry->url(); 168 GURL url = params.searchable_form_url; local 169 if (!url_model->CanReplaceKeyword(keyword, url, ¤t_url)) 183 new_url->SetURL(url.spec(), 0, 0); 187 controller.GetLastCommittedEntry()->favicon().url(); [all...] |
/external/chromium/net/proxy/ |
proxy_service.h | 36 // HTTP(S) URL. It uses the given ProxyResolver to handle the actual proxy 69 // 2. PAC URL 73 int ResolveProxy(const GURL& url, 91 int ReconsiderProxyAfterError(const GURL& url, 203 // hardcoded proxy fallback list (|pac_string|) for every URL. 258 // Otherwise it fills |result| with the proxy information for |url|. 260 int TryToCompleteSynchronously(const GURL& url, ProxyInfo* result); 302 // and custom PAC url). 355 int ResolveProxy(const GURL& url, 358 int ReconsiderProxyAfterError(const GURL& url, [all...] |
/external/chromium/webkit/glue/ |
websocketstreamhandle_impl.cc | 36 void Connect(const WebKit::WebURL& url); 74 void WebSocketStreamHandleImpl::Context::Connect(const WebKit::WebURL& url) { 75 VLOG(1) << "Connect url=" << url; 79 bridge_->Connect(url); 153 const WebKit::WebURL& url, WebKit::WebSocketStreamHandleClient* client) { 154 VLOG(1) << "connect url=" << url; 158 context_->Connect(url);
|
/external/javasqlite/src/main/java/SQLite/ |
JDBCDriver.java | 85 public boolean acceptsURL(String url) throws SQLException { 86 return url.startsWith("sqlite:/") || 87 url.startsWith("jdbc:sqlite:/"); 90 public Connection connect(String url, Properties info) 92 if (!acceptsURL(url)) { 96 args[0] = url; 127 public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
|
/external/webkit/Source/WebCore/page/ |
Navigator.cpp | 131 return m_frame->loader()->userAgent(m_frame->document()->url()); 224 static bool verifyCustomHandlerURL(const String& baseURL, const String& url, ExceptionCode& ec) 229 int index = url.find(token); 235 // It is also a SYNTAX_ERR if the custom handler URL, as created by removing 236 // the "%s" token and prepending the base url, does not resolve. 237 String newURL = url; 261 void Navigator::registerProtocolHandler(const String& scheme, const String& url, const String& title, ExceptionCode& ec) 275 if (!verifyCustomHandlerURL(baseURL, url, ec)) 282 page->chrome()->registerProtocolHandler(scheme, baseURL, url, m_frame->displayStringModifiedByEncoding(title));
|
/packages/apps/Browser/src/com/android/browser/ |
PreloadRequestReceiver.java | 97 String url = UrlUtils.smartUrlFilter(i.getData()); local 111 if (LOGD_ENABLED) Log.d(LOGTAG, "Got " + id + " preload request for " + url); 112 if (url != null && url.startsWith("http")) { 124 if (url != null) { 126 Log.d(LOGTAG, "Preload request(" + id + ", " + url + ", " + 129 Preloader.getInstance().handlePreloadRequest(id, url, headers, sbQuery);
|
PreloadedTabControl.java | 87 // make sure that the failed, preloaded URL is cleared from the back stack 121 public void loadUrlIfChanged(String url, Map<String, String> headers) { 131 if (LOGD_ENABLED) Log.d(LOGTAG, "loadUrlIfChanged\nnew: " + url + "\nold: " +currentUrl); 132 if (!TextUtils.equals(url, currentUrl)) { 133 loadUrl(url, headers); 137 public void loadUrl(String url, Map<String, String> headers) { 138 if (LOGD_ENABLED) Log.d(LOGTAG, "Preloading " + url); 139 mTab.loadUrl(url, headers);
|
/packages/apps/Browser/tests/src/com/android/browser/ |
IntentHandlerTests.java | 108 * Simulate clicking a link by loading a URL directly on the WebView, 112 private void directlyLoadUrl(final Tab tab, final String url) throws Throwable { 117 web.loadUrl(url); 120 waitForLoadStart(tab, url); 123 void waitForLoadStart(final Tab tab, final String url) throws InterruptedException { 125 while (!TextUtils.equals(tab.getOriginalUrl(), url)) { 153 String url = intent.getDataString(); local 155 waitForLoadStart(tab, url);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_model_unittest.cc | 187 const GURL url("http://foo.com"); 189 const BookmarkNode* new_node = model.AddURL(root, 0, title, url); 195 ASSERT_TRUE(url == new_node->GetURL()); 196 ASSERT_EQ(BookmarkNode::URL, new_node->type()); 197 ASSERT_TRUE(new_node == model.GetMostRecentlyAddedNodeForURL(url)); 228 const GURL url("http://foo.com"); 229 model.AddURL(root, 0, title, url); 237 // Make sure there is no mapping for the URL. 238 ASSERT_TRUE(model.GetMostRecentlyAddedNodeForURL(url) == NULL); 247 // Add a URL as a child [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
JarURLConnectionTest.java | 27 import java.net.URL; 51 URL u = new URL("jar:"+BASE+"!/swt.dll"); 64 URL u = new URL("jar:"+BASE+"!/plus.bmp"); 68 u = new URL("jar:"+BASE+"!/"); 72 URL url = new URL("jar:file:///bar.jar!/foo.jar!/Bugs/HelloWorld.class"); local 73 assertEquals("foo.jar!/Bugs/HelloWorld.class",((JarURLConnection)url.openConnection()).getEntryName()) 93 URL url = null; local 157 URL url = new URL("jar:file:" + file.getPath() + "!\/HasAttributes.txt"); local 192 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 223 URL url = new URL("jar:file:" + jarFileName + "!\/" + entry); local 310 URL url = new URL("jar:" + base + "!\/test%20folder%20for%20url%20test\/test"); local [all...] |
/external/chromium/chrome/browser/automation/ |
url_request_automation_job.cc | 97 bool scheme_is_http = request->url().SchemeIs("http"); 98 bool scheme_is_https = request->url().SchemeIs("https"); 157 DVLOG(1) << "URLRequestAutomationJob: " << request_->url().spec() 197 if (request_->url().SchemeIsSecure()) { 204 new net::X509Certificate(request_->url().GetWithEmptyPath().spec(), 283 DVLOG(1) << "URLRequestAutomationJob: " << request_->url().spec() 304 DVLOG(1) << "URLRequestAutomationJob: " << request_->url().spec() 329 std::string url; local 331 url = request_->url().spec() [all...] |
/external/chromium/chrome/browser/history/ |
history_types.h | 44 typedef int64 SegmentID; // URL segments for the most visited view. 45 typedef int64 IconMappingID; // For page url and icon mapping. 51 // Holds all information globally associated with one URL (one row in the 52 // URL table). 67 explicit URLRow(const GURL& url); 71 URLRow(const GURL& url, URLID id); 77 const GURL& url() const { return url_; } function in class:history::URLRow 97 // Number of times the URL was typed in the Omnibox. 112 // If this is set, we won't autocomplete this URL. 135 // The row ID of this URL. Immutable except for the database which sets i 320 GURL url; member in struct:history::StarredEntry 546 GURL url; member in struct:history::MostVisitedURL 577 GURL url; member in class:history::HistoryAddPageArgs 616 MostVisitedURL url; member in struct:history::MostVisitedURLWithRank [all...] |
text_database_manager.cc | 171 void TextDatabaseManager::AddPageURL(const GURL& url, 176 RecentChangeList::iterator found = recent_changes_.Peek(url); 182 recent_changes_.Put(url, PageInfo(url_id, visit_id, time)); 185 void TextDatabaseManager::AddPageTitle(const GURL& url, 187 RecentChangeList::iterator found = recent_changes_.Peek(url); 198 if (!url_database_->GetRowForURL(url, &url_row)) 199 return; // URL is unknown, give up. 216 AddPageData(url, url_row.id(), visit.visit_id, visit.visit_time, 224 AddPageData(url, info.url_id(), info.visit_id(), info.visit_time(), 233 void TextDatabaseManager::AddPageContents(const GURL& url, [all...] |
/external/expat/xmlwf/ |
xmlwin32url.cxx | 14 processURL(XML_Parser parser, IMoniker *baseMoniker, const XML_Char *url); 306 const XML_Char *url; member in struct:QuitInfo 312 winPerror(const XML_Char *url, HRESULT hr) 332 _ftprintf(stderr, _T("%s: %s"), url, buf); 337 _ftprintf(stderr, _T("%s: error %x\n"), url, hr); 364 const XML_Char *url) 368 qi.url = url; 370 XML_SetBase(parser, url); 371 HRESULT hr = openStream(parser, baseMoniker, url, threadQuit, &qi) [all...] |
/external/webkit/Source/WebCore/dom/ |
DOMImplementation.cpp | 322 PassRefPtr<Document> DOMImplementation::createDocument(const String& type, Frame* frame, const KURL& url, bool inViewSourceMode) 325 return HTMLViewSourceDocument::create(frame, url, type); 329 return HTMLDocument::create(frame, url); 335 return Document::createXHTML(frame, url); 339 return WMLDocument::create(frame, url); 345 return FTPDirectoryDocument::create(frame, url); 355 return PluginDocument::create(frame, url); 357 return ImageDocument::create(frame, url); 362 return MediaDocument::create(frame, url); 369 return PluginDocument::create(frame, url); [all...] |
/external/webkit/Source/WebCore/platform/network/cf/ |
CookieJarCFNet.cpp | 117 void setCookies(Document* document, const KURL& url, const String& value) 127 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 145 String cookies(const Document* /*document*/, const KURL& url) 151 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 153 bool secure = url.protocolIs("https"); 159 String cookieRequestHeaderFieldValue(const Document* /*document*/, const KURL& url) 165 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 167 bool secure = url.protocolIs("https"); 181 bool getRawCookies(const Document*, const KURL& url, Vector<Cookie>& rawCookies) 188 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()) [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url_unittest.cc | 57 TemplateURL url; local 58 ASSERT_FALSE(url.show_in_default_list()); 59 ASSERT_FALSE(url.safe_for_autoreplace()); 60 ASSERT_EQ(0, url.prepopulate_id()); 70 const char* url; member in struct:SearchTermsCase 86 TemplateURLRef ref(value.url, 0, 0); 180 const char* url; member in struct:SearchTermsCase 194 TemplateURLRef ref(value.url, 0, 0); 247 TemplateURL url; local 248 GURL favicon_url("http://favicon.url"); 261 const std::string url; member in struct:TestData 283 const std::string url; member in struct:TestData 334 const std::string url; member in struct:TestData 412 const std::string url; member in struct:TestData [all...] |
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
FrameLoaderClientQt.cpp | 131 return QString::fromLatin1("<NSError domain NSURLErrorDomain, code %1, failing URL \"%2\">").arg(error.errorCode()).arg(failingURL); 136 QString url = drtDescriptionSuitableForTestResult(request.url()); local 139 return QString::fromLatin1("<NSURLRequest URL %1, main document URL %2, http method %3>").arg(url).arg(mainDocumentUrl).arg(httpMethod); 144 QString url = drtDescriptionSuitableForTestResult(response.url()); local 146 return QString::fromLatin1("<NSURLResponse %1, http status code %2>").arg(url).arg(httpStatusCode); 372 void FrameLoaderClientQt::dispatchWillPerformClientRedirect(const KURL& url, double, double 1029 QUrl url = newRequest.url(); local [all...] |
/external/webkit/Source/WebCore/loader/ |
DocumentThreadableLoader.cpp | 71 , m_sameOriginRequest(document->securityOrigin()->canRequest(request.url())) 85 m_client->didFail(ResourceError(errorDomainWebKitInternal, 0, request.url().string(), "Cross origin requests are not supported.")); 100 if (CrossOriginPreflightResultCache::shared().canSkipPreflight(document->securityOrigin()->toString(), m_actualRequest->url(), m_options.allowCredentials, m_actualRequest->httpMethod(), m_actualRequest->httpHeaderFields())) 112 if (!request.url().protocolInHTTPFamily()) { 113 m_client->didFail(ResourceError(errorDomainWebKitInternal, 0, request.url().string(), "Cross origin requests are only supported for HTTP.")); 126 ResourceRequest preflightRequest(request.url()); 184 if (!isAllowedRedirect(request.url())) { 210 preflightFailure(response.url(), accessControlErrorDescription); 218 preflightFailure(response.url(), accessControlErrorDescription); 222 CrossOriginPreflightResultCache::shared().appendEntry(m_document->securityOrigin()->toString(), m_actualRequest->url(), preflightResult.release()) [all...] |
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
SafeSaxTest.java | 246 String url = attributes.getValue("", "url"); 247 if (video.thumbnailUrl == null && url.length() > 0) { 248 video.thumbnailUrl = url; 256 String url = attributes.getValue("", "url"); 257 if (url != null) { 258 video.videoUrl = url; 266 String url = attributes.getValue("", "url"); 390 String url = attributes.getValue("", "url"); local 398 String url = attributes.getValue("", "url"); local 406 String url = attributes.getValue("", "url"); local [all...] |
/external/chromium/chrome/browser/download/ |
download_browsertest.cc | 494 // Download |url|, then wait for the download to finish. 504 const GURL& url, 513 url, 528 const GURL& url, 532 url, 585 GURL url(type == SIZE_TEST_TYPE_KNOWN ? 592 net::FileURLToFilePath(url, &filename); 599 // The mock system will not complete until it gets a special URL. 601 ui_test_utils::NavigateToURL(browser, url); 613 // Allow the request to finish. We do this by loading a second URL in 749 DownloadAndWait(browser(), url, EXPECT_NO_SELECT_DIALOG); local 766 DownloadAndWait(browser(), url, EXPECT_NO_SELECT_DIALOG); local 793 DownloadAndWait(browser(), url, EXPECT_SELECT_DIALOG); local 811 ui_test_utils::NavigateToURL(browser(), url); local 832 DownloadAndWait(browser(), url, EXPECT_NO_SELECT_DIALOG); local 852 DownloadAndWait(browser(), url, EXPECT_NO_SELECT_DIALOG); local 964 url, local 984 url, local 1011 ui_test_utils::NavigateToURL(browser(), url); local 1058 url, local 1085 ui_test_utils::NavigateToURL(browser(), url); local 1118 ui_test_utils::NavigateToURL(browser(), url); local 1156 url, local 1275 DownloadAndWait(browser(), url, EXPECT_NO_SELECT_DIALOG); local [all...] |
/external/chromium/chrome/browser/importer/ |
nss_decryptor.cc | 167 // The first line is the site URL. 168 // For HTTP authentication logins, the URL may contain http realm, 171 GURL url; local 182 url = GURL(lines[begin].substr(0, start)); 188 // Don't have http realm. It is the URL that the following passwords 190 url = GURL(lines[begin]); 192 // Skips this block if the URL is not valid. 193 if (!url.is_valid()) 195 form.origin = url.ReplaceComponents(rep); 268 GURL url; local [all...] |
/external/chromium/chrome/browser/tab_contents/ |
web_drag_dest_gtk.cc | 165 drop_data_->url = GURL(); 169 // file URLs are never set as the URL content for the drop. 171 GURL url(*uri_iter); 173 if (url.SchemeIs(chrome::kFileScheme) && 174 net::FileURLToFilePath(url, &file_path)) { 177 // a file URL when dragging files, so we clear it to avoid exposing 180 } else if (!drop_data_->url.is_valid()) { 181 // Also set the first non-file URL as the URL content for the drop. 182 drop_data_->url = url [all...] |
/external/chromium/chrome/browser/ui/views/ |
find_bar_host_interactive_uitest.cc | 54 GURL url = test_server()->GetURL(kSimplePage); local 55 ui_test_utils::NavigateToURL(browser(), url); local 60 browser()->AddSelectedTabWithURL(url, PageTransition::TYPED); 88 GURL url = test_server()->GetURL("title1.html"); local 89 ui_test_utils::NavigateToURL(browser(), url); local 133 GURL url = test_server()->GetURL(kSimplePage); local 134 ui_test_utils::NavigateToURL(browser(), url); local 149 browser()->AddSelectedTabWithURL(url, PageTransition::TYPED); 197 GURL url = test_server()->GetURL(kSimplePage); local 198 ui_test_utils::NavigateToURL(browser(), url); local [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
search_engine_manager_handler.cc | 155 dict->SetString("url", template_url->url()->DisplayURL()); 218 const std::string& url) { 220 list_controller_->ModifyTemplateURL(template_url, title, keyword, url); 222 list_controller_->AddTemplateURL(title, keyword, url); 234 std::string url; local 238 !args->GetString(ENGINE_URL, &url) || 247 validity.SetBoolean("url", edit_controller_->IsURLValid(url)); 265 std::string url; local [all...] |