/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
urlfetcher.py | 39 def fetch(self, url): 40 """Fetches the contents of the URL as a string.""" 41 file_object = urllib.urlopen(url) 46 def fetch_into_file(self, url): 47 """Fetches the contents of the URL into a temporary file and return the filename. 52 contents = self.fetch(url)
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
proxydetect.h | 40 // the given URL. 42 bool GetProxySettingsForUrl(const char* agent, const char* url,
|
/external/chromium_org/tools/site_compare/commands/ |
maskmaker.py | 44 ["-u", "--url"], "URL to compare") 47 cmd.AddMutualExclusion(["--url", "--list"]) 49 ["-s", "--startline"], "First line of URL list", type="int") 51 ["-e", "--endline"], "Last line of URL list (exclusive)", type="int") 53 ["-c", "--count"], "Number of lines of URL file to use", type="int") 55 cmd.AddRequiredGroup(["--url", "--list"]) 84 "Number of times a scrape can fail before giving up on the URL.", 101 """Helper class for holding information about a URL passed to maskmaker.""" 102 __slots__ = ['url', 'consecutive_successes', 'errors' [all...] |
/external/chromium_org/webkit/browser/blob/ |
blob_storage_controller.h | 32 void StartBuildingBlob(const GURL& url); 33 void AppendBlobDataItem(const GURL& url, const BlobData::Item& data_item); 34 void FinishBuildingBlob(const GURL& url, const std::string& content_type); 35 void AddFinishedBlob(const GURL& url, const BlobData* blob_data); 36 void CloneBlob(const GURL& url, const GURL& src_url); 37 void RemoveBlob(const GURL& url); 38 BlobData* GetBlobDataFromUrl(const GURL& url); 56 const GURL& url, uint64 offset, uint64 length, 59 bool RemoveFromMapHelper(BlobMap* map, const GURL& url);
|
/external/chromium_org/webkit/browser/fileapi/ |
async_file_test_helper.h | 39 // Removes the given |url|. 41 const FileSystemURL& url, 44 // Performs ReadDirectory on |url|. 46 const FileSystemURL& url, 49 // Creates a directory at |url|. 51 const FileSystemURL& url); 53 // Creates a file at |url|. 55 const FileSystemURL& url); 57 // Truncates the file |url| to |size|. 59 const FileSystemURL& url, [all...] |
async_file_util_adapter.h | 43 const FileSystemURL& url, 48 const FileSystemURL& url, 52 const FileSystemURL& url, 58 const FileSystemURL& url, 62 const FileSystemURL& url, 66 const FileSystemURL& url, 72 const FileSystemURL& url, 92 const FileSystemURL& url, 96 const FileSystemURL& url, 100 const FileSystemURL& url, [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
UrlAssetInfo.java | 9 import java.net.URL; 13 * Handles loading of assets from a URL 19 private URL url; field in class:UrlAssetInfo 22 public static UrlAssetInfo create(AssetManager assetManager, AssetKey key, URL url) throws IOException { 23 // Check if URL can be reached. This will throw 25 URLConnection conn = url.openConnection(); 29 // For some reason url cannot be reached? 33 return new UrlAssetInfo(assetManager, key, url, in) [all...] |
/frameworks/base/core/java/android/webkit/ |
DownloadListener.java | 23 * @param url The full url to the content that should be downloaded 30 public void onDownloadStart(String url, String userAgent,
|
WebIconDatabase.java | 45 * @param url The url passed in the request. 46 * @param icon The favicon for the given url. 48 public void onReceivedIcon(String url, Bitmap icon); 75 * url. If the icon exists, the listener will be called with the result. 76 * @param url The page's url. 79 public void requestIconForPageUrl(String url, IconListener listener) { 91 * Retain the icon for the given page url. 92 * @param url The page's url [all...] |
/libcore/luni/src/main/java/libcore/net/url/ |
FtpHandler.java | 18 package libcore.net.url; 22 import java.net.URL; 28 * Open a URLConnection on the given URL. 31 protected URLConnection openConnection(URL u) throws IOException { 37 * to the FTP server specified by this <code>URL</code>. If 41 * @param url 42 * the URL which the connection is pointing to 45 * @return a connection to the resource pointed by this url. 55 protected URLConnection openConnection(URL url, Proxy proxy) throws IOException [all...] |
/packages/apps/Browser/src/com/android/browser/ |
CombinedBookmarksCallbacks.java | 19 void openUrl(String url);
|
/external/chromium_org/chrome/browser/history/ |
typed_url_syncable_service.cc | 23 // typed URL, so we limit how many we fetch from the DB to avoid crashes due to 123 "Typed url syncable service is not implemented.", 139 for (URLRows::iterator url = changed_urls->begin(); 140 url != changed_urls->end(); ++url) { 141 // Only care if the modified URL is typed. 142 if (url->typed_count() > 0) { 144 // continue on to process the next URL. 145 CreateOrUpdateSyncNode(*url, &changes); 199 for (std::set<GURL>::const_iterator url = synced_typed_urls_.begin() [all...] |
top_sites_database.cc | 86 "url LONGVARCHAR PRIMARY KEY," 118 "SELECT url, url_rank, title, thumbnail, redirects, " 132 MostVisitedURL url; local 134 url.url = gurl; 135 url.title = statement.ColumnString16(2); 137 SetRedirects(redirects, &url); 138 urls->push_back(url); 157 std::string TopSitesDatabase::GetRedirects(const MostVisitedURL& url) { 159 for (size_t i = 0; i < url.redirects.size(); i++ [all...] |
/external/chromium_org/chrome/browser/google_apis/ |
drive_api_url_generator.cc | 32 GURL AddResumableUploadParam(const GURL& url) { 33 return net::AppendOrReplaceQueryParameter(url, "uploadType", "resumable"); 36 GURL AddMaxResultParam(const GURL& url, int max_results) { 39 url, "maxResults", base::IntToString(max_results)); 72 GURL url = base_url_.Resolve(kDriveV2ChangelistUrl); local 76 url = net::AppendOrReplaceQueryParameter(url, "includeDeleted", "false"); 80 url = net::AppendOrReplaceQueryParameter( 81 url, "startChangeId", base::Int64ToString(start_changestamp)); 84 return AddMaxResultParam(url, max_results) 93 GURL url = base_url_.Resolve(kDriveV2FilesUrl); local 113 GURL url = base_url_.Resolve( local 154 const GURL& url = base_url_.Resolve( local [all...] |
/external/chromium_org/url/ |
gurl_unittest.cc | 6 #include "url/gurl.h" 7 #include "url/url_canon.h" 8 #include "url/url_test_utils.h" 35 // Returns the canonicalized string for the given URL string for the 52 // In the reverse, known schemes should always trigger standard URL handling. 71 GURL url(WStringToUTF16(L"http://user:pass@google.com:99/foo;bar?q=a#ref")); 72 EXPECT_TRUE(url.is_valid()); 73 EXPECT_TRUE(url.SchemeIs("http")); 74 EXPECT_FALSE(url.SchemeIsFile()); 76 // This is the narrow version of the URL, which should match the wide input 91 GURL url; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
urlparse.py | 8 RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter 14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zwinski, July 1998. 19 RFC 1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M. 136 def urlparse(url, scheme='', allow_fragments=True): 137 """Parse a URL into 6 components: 142 tuple = urlsplit(url, scheme, allow_fragments) 143 scheme, netloc, url, query, fragment = tuple 144 if scheme in uses_params and ';' in url: 145 url, params = _splitparams(url) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
urlparse.py | 8 RFC 2732 : "Format for Literal IPv6 Addresses in URL's by R.Hinden, B.Carpenter 14 RFC 2368: "The mailto URL scheme", by P.Hoffman , L Masinter, J. Zwinski, July 1998. 19 RFC 1738: "Uniform Resource Locators (URL)" by T. Berners-Lee, L. Masinter, M. 136 def urlparse(url, scheme='', allow_fragments=True): 137 """Parse a URL into 6 components: 142 tuple = urlsplit(url, scheme, allow_fragments) 143 scheme, netloc, url, query, fragment = tuple 144 if scheme in uses_params and ';' in url: 145 url, params = _splitparams(url) [all...] |
/external/chromium/chrome/browser/webdata/ |
keyword_table.cc | 20 // ID of the url column in keywords. 27 void BindURLToStatement(const TemplateURL& url, sql::Statement* s) { 28 s->BindString(0, UTF16ToUTF8(url.short_name())); 29 s->BindString(1, UTF16ToUTF8(url.keyword())); 30 GURL favicon_url = url.GetFaviconURL(); 35 url.GetFaviconURL())); 37 s->BindString(3, url.url() ? url.url()->url() : std::string()) [all...] |
/external/chromium_org/chrome/browser/extensions/ |
event_router_forwarder_unittest.cc | 19 #include "url/gurl.h" 50 const GURL& url) { 52 event_router->BroadcastEventToRenderers(event_name, args.Pass(), url); 59 const GURL& url) { 62 use_profile_to_restrict_events, url); 68 const GURL& url) { 71 url); 79 const GURL& url) { 83 use_profile_to_restrict_events, url); 133 GURL url; local 162 GURL url; local 257 GURL url; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
content_settings_apitest.cc | 28 // Check default content settings by using an unknown URL. 71 GURL url("http://www.google.com"); 72 EXPECT_FALSE(cookie_settings->IsReadingCookieAllowed(url, url)); 75 url, url, CONTENT_SETTINGS_TYPE_IMAGES, std::string())); 78 url, url, CONTENT_SETTINGS_TYPE_JAVASCRIPT, std::string())); 81 url, url, CONTENT_SETTINGS_TYPE_PLUGINS, std::string())) [all...] |
/external/chromium/chrome/browser/history/ |
top_sites_database.cc | 70 "url LONGVARCHAR PRIMARY KEY," 90 "SELECT url, url_rank, title, thumbnail, redirects, " 104 MostVisitedURL url; local 106 url.url = gurl; 107 url.title = statement.ColumnString16(2); 109 SetRedirects(redirects, &url); 110 urls->push_back(url); 127 std::string TopSitesDatabase::GetRedirects(const MostVisitedURL& url) { 129 for (size_t i = 0; i < url.redirects.size(); i++ [all...] |
/external/chromium/chrome/common/extensions/ |
extension_set.cc | 32 std::string ExtensionSet::GetIdByURL(const GURL& url) const { 33 if (url.SchemeIs(chrome::kExtensionScheme)) 34 return url.host(); 36 const Extension* extension = GetByURL(url); 43 const Extension* ExtensionSet::GetByURL(const GURL& url) const { 44 if (url.SchemeIs(chrome::kExtensionScheme)) 45 return GetByID(url.host()); 49 if (i->second->web_extent().ContainsURL(url)) 69 bool ExtensionSet::ExtensionBindingsAllowed(const GURL& url) const { 70 if (url.SchemeIs(chrome::kExtensionScheme) [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/handlers/ |
buildershandler_unittest.py | 81 def fake_fetch_json(url): 82 fetched_urls.append(url) 83 if url == 'http://build.chromium.org/p/chromium.webkit/json/builders': 86 if url == 'http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Linux': 88 if url == 'http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Win': 90 if url == 'http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Mac': 92 if url == 'http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Empty': 95 if url == 'http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Linux/builds/2': 97 if url == 'http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Win/builds/2': 99 if url == 'http://build.chromium.org/p/chromium.webkit/json/builders/WebKit%20Mac/builds/2' [all...] |
/external/chromium_org/sync/test/accounts_client/ |
test_accounts_client.cc | 43 string url = source->GetURL().spec(); variable 49 << "\nRequested URL: " << url << "."; variable 53 << "\nRequested URL: " << url 80 GURL url = CreateGURLWithPath(kClaimPath); local 81 url = net::AppendQueryParameter(url, "account_space", account_space_); 84 url = net::AppendQueryParameter(url, "max_lifetime_seconds" 122 GURL url = CreateGURLWithPath(kReleasePath); local [all...] |
/external/chromium/chrome/browser/prerender/ |
prerender_manager_unittest.cc | 21 const GURL& url, 23 : PrerenderContents(prerender_manager, NULL, url, 30 const GURL& url, 33 : PrerenderContents(prerender_manager, NULL, url, alias_urls, GURL()), 86 bool AddSimplePreload(const GURL& url) { 87 return AddPreload(url, std::vector<GURL>(), GURL()); 90 bool IsPendingEntry(const GURL& url) { 91 return (PrerenderManager::FindPendingEntry(url) != NULL); 116 const GURL& url, 146 GURL url("http://www.google.com/") 373 url); local 407 url); local [all...] |