/external/chromium/chrome/browser/net/ |
predictor.h | 14 // navigation. A subresource URL may be associated with a referrer URL. Later 75 void Resolve(const GURL& url, 83 void PredictFrameSubresources(const GURL& url); 85 // The Omnibox has proposed a given url to the user, and if it is a search 86 // URL, then it also indicates that this is preconnectable (i.e., we could 88 void AnticipateOmniboxUrl(const GURL& url, bool preconnectable); 90 // Preconnect a URL and all of its subresource domains. 91 void PreconnectUrlAndSubresources(const GURL& url); 133 // Put URL in canonical form, including a scheme, host, and port [all...] |
/libcore/luni/src/main/java/java/net/ |
URLStreamHandler.java | 21 import libcore.net.url.UrlUtils; 26 * can handle the communication with a URL object over a particular protocol 31 * Establishes a new connection to the resource specified by the URL {@code 36 * the URL to the resource where a connection has to be opened. 41 protected abstract URLConnection openConnection(URL u) throws IOException; 44 * Establishes a new connection to the resource specified by the URL {@code 49 * the URL to the resource where a connection has to be opened. 61 protected URLConnection openConnection(URL u, Proxy proxy) throws IOException { 66 * Parses the clear text URL in {@code str} into a URL object. URL string [all...] |
/external/chromium/chrome/browser/history/ |
top_sites.cc | 95 const GURL& url = data_.most_visited[i].url; local 96 if (ShouldFetchThumbnailFor(url)) { 98 backend->GetPageThumbnailDirectly(url, &data); 99 data_.url_to_thumbnail_map[url] = data; 110 bool ShouldFetchThumbnailFor(const GURL& url) { 111 return ignore_urls_.find(url.spec()) == ignore_urls_.end(); 185 bool TopSites::SetPageThumbnail(const GURL& url, 197 if (!IsKnownURL(url)) { 201 return false; // This URL is not known to us 632 MostVisitedURL& url = urls[i]; local 696 GURL url; local 806 const GURL& url = load_details->entry->url(); local [all...] |
thumbnail_database_unittest.cc | 121 GURL url("http://google.com"); 122 FaviconID id = db.AddFavicon(url, FAVICON); 131 EXPECT_EQ(url, url_out); 147 GURL url("http://google.com"); 148 FaviconID id = db.AddFavicon(url, TOUCH_ICON); 153 EXPECT_NE(0, db.AddIconMapping(url, id)); 155 EXPECT_TRUE(db.GetIconMappingsForPageURL(url, &icon_mapping)); 157 EXPECT_EQ(url, icon_mapping.front().page_url); 169 GURL url("http://google.com"); 170 FaviconID id = db.AddFavicon(url, TOUCH_ICON) [all...] |
/external/chromium/chrome/browser/ui/toolbar/ |
toolbar_model.cc | 37 GURL url(chrome::kAboutBlankURL); 46 // Explicitly hide the URL for this tab. 47 url = GURL(); 49 url = entry->virtual_url(); 52 if (url.spec().length() > content::kMaxURLDisplayChars) 53 url = url.IsStandard() ? url.GetOrigin() : GURL(url.scheme() + ":"); 55 // and pastes it into another program, that program may think the URL ends a [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
DataObjectGtk.cpp | 74 // Process the input and copy the first valid URL into the url member. 75 // In case no URLs can be found, subsequent calls to getData("URL") 88 KURL url = KURL(KURL(), line); local 89 if (url.isValid()) { 91 m_url = url; 103 void DataObjectGtk::setURL(const KURL& url, const String& label) 105 m_url = url; 106 m_uriList = url; 107 setText(url.string()) [all...] |
/external/webkit/Source/WebKit/win/Interfaces/ |
IWebIconDatabase.idl | 74 @param URL 76 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size; 80 @discussion Returns an icon for a web site URL from memory or disk. nil if none is found. 81 Usually called by a UI element to determine if a site URL has an associated icon. 83 @param URL 86 - (NSImage *)iconForURL:(NSString *)URL withSize:(NSSize)size cache:(BOOL)cache; 90 @discussion Returns an icon URL for a web site URL from memory or disk. nil if none is found. 91 @param URL 92 - (NSString *)iconURLForURL:(NSString *)URL; [all...] |
/frameworks/base/core/java/android/content/ |
IContentProvider.java | 37 public Cursor query(Uri url, String[] projection, String selection, 40 public String getType(Uri url) throws RemoteException; 41 public Uri insert(Uri url, ContentValues initialValues) 43 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException; 44 public int delete(Uri url, String selection, String[] selectionArgs) 46 public int update(Uri url, ContentValues values, String selection, 48 public ParcelFileDescriptor openFile(Uri url, String mode) 50 public AssetFileDescriptor openAssetFile(Uri url, String mode) 58 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException; 59 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts [all...] |
/frameworks/base/test-runner/src/android/test/mock/ |
MockIContentProvider.java | 44 public int bulkInsert(Uri url, ContentValues[] initialValues) { 49 public int delete(Uri url, String selection, String[] selectionArgs) 54 public String getType(Uri url) { 59 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { 63 public ParcelFileDescriptor openFile(Uri url, String mode) { 75 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, 80 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, 85 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) 99 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException { 103 public AssetFileDescriptor openTypedAssetFile(Uri url, String mimeType, Bundle opts [all...] |
MockContentProvider.java | 62 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { 63 return MockContentProvider.this.bulkInsert(url, initialValues); 67 public int delete(Uri url, String selection, String[] selectionArgs) 69 return MockContentProvider.this.delete(url, selection, selectionArgs); 73 public String getType(Uri url) throws RemoteException { 74 return MockContentProvider.this.getType(url); 78 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { 79 return MockContentProvider.this.insert(url, initialValues); 83 public AssetFileDescriptor openAssetFile(Uri url, String mode) throws RemoteException, 85 return MockContentProvider.this.openAssetFile(url, mode) [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
TestWebViewClient.java | 46 public boolean shouldOverrideUrlLoading(WebView view, String url) { 47 return mWrappedClient.shouldOverrideUrlLoading(view, url); 52 public void onPageStarted(WebView view, String url, Bitmap favicon) { 53 mWrappedClient.onPageStarted(view, url, favicon); 58 public void onPageFinished(WebView view, String url) { 59 mWrappedClient.onPageFinished(view, url); 64 public void onLoadResource(WebView view, String url) { 65 mWrappedClient.onLoadResource(view, url); 92 public void doUpdateVisitedHistory(WebView view, String url, 94 mWrappedClient.doUpdateVisitedHistory(view, url, isReload) [all...] |
/external/chromium/chrome/browser/automation/ |
automation_util.cc | 30 const GURL& url, 35 context_getter->GetURLRequestContext()->cookie_store()->GetCookies(url); 40 const GURL& url, 46 GetCookieMonster()->GetAllCookiesForURL(url); 51 const GURL& url, 58 SetCookie(url, value); 63 const GURL& url, 73 url, cookie.Name(), cookie.Value(), original_domain, 80 const GURL& url, 85 DeleteCookie(url, name) 189 std::string url; local 234 std::string url, name; local 265 std::string url; local [all...] |
/external/chromium/chrome/browser/renderer_host/ |
offline_resource_handler.cc | 98 const GURL& url, 100 if (ShouldShowOfflinePage(url)) { 102 deferred_url_ = url; 104 << ", url=" << url; local 113 url, appcache_completion_callback_); 118 return next_handler_->OnWillStart(request_id, url, defer); 162 bool OfflineResourceHandler::IsRemote(const GURL& url) const { 163 return url.SchemeIs(chrome::kFtpScheme) || 164 url.SchemeIs(chrome::kHttpScheme) | 178 const GURL url = deferred_url_; local [all...] |
/external/chromium/chrome/browser/search_engines/ |
template_url.cc | 32 // Known parameters found in the URL. 78 TemplateURLRef::TemplateURLRef(const std::string& url, 81 : url_(url), 89 void TemplateURLRef::Set(const std::string& url, 92 url_ = url; 103 std::string* url, 109 if ((*url)[end - 1] == kOptional) { 113 std::string parameter(url->substr(start + 1, length)); 114 std::string full_parameter(url->substr(start, end - start + 1)); 116 url->erase(start, end - start + 1) 340 std::string url = parsed_url_; local [all...] |
/external/chromium/chrome/browser/webdata/ |
web_apps_table_unittest.cc | 47 GURL url("http://google.com/"); 50 EXPECT_FALSE(db.GetWebAppsTable()->GetWebAppHasAllImages(url)); 53 EXPECT_TRUE(db.GetWebAppsTable()->SetWebAppHasAllImages(url, true)); 54 EXPECT_TRUE(db.GetWebAppsTable()->GetWebAppHasAllImages(url)); 57 EXPECT_TRUE(db.GetWebAppsTable()->RemoveWebApp(url)); 58 EXPECT_FALSE(db.GetWebAppsTable()->GetWebAppHasAllImages(url)); 65 GURL url("http://google.com/"); 69 ASSERT_TRUE(db.GetWebAppsTable()->GetWebAppImages(url, &images)); 77 ASSERT_TRUE(db.GetWebAppsTable()->SetWebAppImage(url, image)); 80 ASSERT_TRUE(db.GetWebAppsTable()->GetWebAppImages(url, &images)) [all...] |
/external/chromium/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/ |
imageinfo.js | 17 function readFileData(url, callback) { 19 url, 27 files[url] = tags; 156 ImageInfo.loadInfo = function(url, cb) { 157 if (!files[url]) { 158 readFileData(url, cb); 164 ImageInfo.getAllFields = function(url) { 165 if (!files[url]) return null; 168 for (var a in files[url]) { 169 if (files[url].hasOwnProperty(a) [all...] |
/external/chromium/chrome/common/net/ |
url_fetcher_unittest.cc | 78 virtual void CreateFetcher(const GURL& url); 82 const GURL& url, 123 void URLFetcherTest::CreateFetcher(const GURL& url) { 124 fetcher_ = new URLFetcher(url, URLFetcher::GET, this); 131 const GURL& url, 154 virtual void CreateFetcher(const GURL& url); 158 const GURL& url, 170 const GURL& url, 180 virtual void CreateFetcher(const GURL& url); 183 const GURL& url, [all...] |
/external/webkit/Source/WebCore/loader/cache/ |
CachedResourceLoader.h | 62 CachedImage* requestImage(const String& url); 63 CachedCSSStyleSheet* requestCSSStyleSheet(const String& url, const String& charset, ResourceLoadPriority priority = ResourceLoadPriorityUnresolved); 64 CachedCSSStyleSheet* requestUserCSSStyleSheet(const String& url, const String& charset); 65 CachedScript* requestScript(const String& url, const String& charset); 66 CachedFont* requestFont(const String& url); 69 CachedXSLStyleSheet* requestXSLStyleSheet(const String& url); 72 CachedResource* requestLinkResource(const String &url, ResourceLoadPriority priority = ResourceLoadPriorityUnresolved); 75 // Logs an access denied message to the console for the specified URL. 76 void printAccessDeniedMessage(const KURL& url) const; 78 CachedResource* cachedResource(const String& url) const [all...] |
/external/webkit/Tools/DumpRenderTree/mac/ |
HistoryDelegate.mm | 42 NSURL *url = [navigationData url] ? [NSURL URLWithString:[navigationData url]] : nil; 47 printf("WebView navigated to url \"%s\" with title \"%s\" with HTTP equivalent method \"%s\". The navigation was %s and was %s%s.\n", 48 url ? [[url _drt_descriptionSuitableForTestResult] UTF8String] : "<none>", 70 - (void)webView:(WebView *)webView updateHistoryTitle:(NSString *)title forURL:(NSString *)url 72 printf("WebView updated the title for history URL \"%s\" to \"%s\".\n", [[[NSURL URLWithString:url]_drt_descriptionSuitableForTestResult] UTF8String], [title UTF8String]);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalProvider.java | 84 public Cursor query(Uri url, String[] projectionIn, String selection, 89 int match = sURLMatcher.match(url); 97 qb.appendWhere(url.getPathSegments().get(1)); 100 throw new IllegalArgumentException("Unknown URL " + url); 110 ret.setNotificationUri(getContext().getContentResolver(), url); local 117 public String getType(Uri url) { 118 int match = sURLMatcher.match(url); 125 throw new IllegalArgumentException("Unknown URL"); 130 public int update(Uri url, ContentValues values, String where, String[] whereArgs) [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProvider.java | 113 public Cursor query(Uri url, String[] projectionIn, String selection, 119 public String getType(Uri url) { 120 int match = sURLMatcher.match(url); 127 throw new IllegalArgumentException("Unknown URL"); 132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException { 133 int match = sURLMatcher.match(url); 136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1); 137 return getBlobColumnAsFile(url, mode, sql); 142 throw new FileNotFoundException("Error reading " + url + ":" + ex.toString()); 148 throw new FileNotFoundException("No files supported by provider at " + url); [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Driver4.java | 53 public boolean acceptsURL(String url) throws SQLException { 55 if (url == null) { 58 // Everything's fine if the quoted url starts with the base url for this 60 if (url.startsWith(baseURL)) { 74 public Connection connect(String url, Properties info) throws SQLException { 75 // Does the URL have the right form? 76 if (this.acceptsURL(url)) { 77 // The datasource name is the remainder of the url after the ":" 78 String datasource = url.substring(baseURL.length() + 1) [all...] |
/external/webkit/Source/WebCore/loader/ |
NavigationScheduler.cpp | 97 ScheduledURLNavigation(double delay, PassRefPtr<SecurityOrigin> securityOrigin, const String& url, const String& referrer, bool lockHistory, bool lockBackForwardList, bool duringLoad, bool isLocationChange) 100 , m_url(url) 128 String url() const { return m_url; } function in class:WebCore::ScheduledURLNavigation 140 ScheduledRedirect(double delay, PassRefPtr<SecurityOrigin> securityOrigin, const String& url, bool lockHistory, bool lockBackForwardList) 141 : ScheduledURLNavigation(delay, securityOrigin, url, String(), lockHistory, lockBackForwardList, false, false) 151 ScheduledLocationChange(PassRefPtr<SecurityOrigin> securityOrigin, const String& url, const String& referrer, bool lockHistory, bool lockBackForwardList, bool duringLoad) 152 : ScheduledURLNavigation(0.0, securityOrigin, url, referrer, lockHistory, lockBackForwardList, duringLoad, true) { } 157 ScheduledRefresh(PassRefPtr<SecurityOrigin> securityOrigin, const String& url, const String& referrer) 158 : ScheduledURLNavigation(0.0, securityOrigin, url, referrer, true, true, false, true) 165 frame->loader()->changeLocation(securityOrigin(), KURL(ParsedURLString, url()), referrer(), lockHistory(), lockBackForwardList(), true) 361 const KURL& url = m_frame->document()->url(); local [all...] |
/external/webkit/Source/WebCore/platform/network/ |
DataURL.cpp | 43 ASSERT(handle->firstRequest().url().protocolIs("data")); 44 String url = handle->firstRequest().url().string(); local 46 int index = url.find(','); 52 String mediaType = url.substring(5, index - 5); 53 String data = url.substring(index + 1); 68 response.setURL(handle->firstRequest().url());
|
/frameworks/base/core/java/android/webkit/ |
WebIconDatabaseClassic.java | 60 IconResult(String url, Bitmap icon, IconListener l) { 61 mUrl = url; 103 String url = msg.getData().getString("url"); 104 requestIconAndSendResult(url, l); 151 new String[] { Browser.BookmarkColumns.URL }, 155 String url = c.getString(0); local 156 requestIconAndSendResult(url, listener); 166 private void requestIconAndSendResult(String url, IconListener listener) { 167 Bitmap icon = nativeIconForPageUrl(url); [all...] |