/external/chromium_org/chrome/browser/autocomplete/ |
url_prefix.cc | 11 URLPrefix::URLPrefix(const base::string16& prefix, size_t num_components) 17 const URLPrefixes& URLPrefix::GetURLPrefixes() { 20 prefixes.push_back(URLPrefix(ASCIIToUTF16("https://www."), 2)); 21 prefixes.push_back(URLPrefix(ASCIIToUTF16("http://www."), 2)); 22 prefixes.push_back(URLPrefix(ASCIIToUTF16("ftp://ftp."), 2)); 23 prefixes.push_back(URLPrefix(ASCIIToUTF16("ftp://www."), 2)); 24 prefixes.push_back(URLPrefix(ASCIIToUTF16("https://"), 1)); 25 prefixes.push_back(URLPrefix(ASCIIToUTF16("http://"), 1)); 26 prefixes.push_back(URLPrefix(ASCIIToUTF16("ftp://"), 1)) [all...] |
url_prefix.h | 12 struct URLPrefix; 13 typedef std::vector<URLPrefix> URLPrefixes; 17 struct URLPrefix { 18 URLPrefix(const base::string16& prefix, size_t num_components); 30 static const URLPrefix* BestURLPrefix(const base::string16& text, 36 static bool PrefixMatch(const URLPrefix& prefix,
|
shortcuts_provider.cc | 49 // Like URLPrefix::BestURLPrefix() except also handles the prefix of 56 const URLPrefix* BestURLPrefixWithWWWCase( 59 CR_DEFINE_STATIC_LOCAL(URLPrefix, www_prefix, (ASCIIToUTF16("www."), 1)); 60 const URLPrefix* best_prefix = URLPrefix::BestURLPrefix(text, prefix_suffix); 63 if (URLPrefix::PrefixMatch(www_prefix, text, prefix_suffix)) 241 const URLPrefix* best_prefix =
|
history_url_provider.cc | 433 const URLPrefix* best_prefix = 434 URLPrefix::BestURLPrefix(UTF8ToUTF16(destination_url.spec()), text); 511 const URLPrefixes& prefixes = URLPrefix::GetURLPrefixes(); 530 const URLPrefix* best_prefix = 531 URLPrefix::BestURLPrefix(UTF8ToUTF16(j->url().spec()), [all...] |
search_provider.cc | 316 URLPrefix::BestURLPrefix(base::UTF8ToUTF16(url_.spec()), input) != NULL; [all...] |
search_provider_unittest.cc | [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
file_system_util.py | 7 def CreateURLsFromPaths(file_system, directory, urlprefix): 9 is given relative to |urlprefix|. 13 url = posixpath.join(urlprefix, root, f)
|
link_error_detector.py | 149 for dirpath, urlprefix in top_level_directories: 150 files = CreateURLsFromPaths(self._file_system, dirpath, urlprefix)
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
EditFileSystemDialog.js | 148 delete this._entries[entry.urlPrefix]; 149 if (this._fileMappingsList.itemForId(entry.urlPrefix)) 150 this._fileMappingsList.removeItem(entry.urlPrefix); 161 return entry.urlPrefix; 187 var urlPrefix = itemId; 190 WebInspector.isolatedFileSystemManager.mapping().removeFileMapping(fileSystemPath, urlPrefix, pathPrefix); 196 * @param {string} urlPrefix 201 _validateMapping: function(urlPrefix, allowedURLPrefix, path, allowedPathPrefix) 204 if (!this._checkURLPrefix(urlPrefix, allowedURLPrefix)) 216 var urlPrefix = /** @type{?string} */ (event.data) [all...] |
FileSystemMapping.js | 104 var entry = new WebInspector.FileSystemMapping.Entry(savedEntry.fileSystemPath, savedEntry.urlPrefix, savedEntry.pathPrefix); 154 this._mappingForURLPrefix[entry.urlPrefix] = entry; 155 this._urlPrefixes.push(entry.urlPrefix); 187 * @param {string} urlPrefix 190 addFileMapping: function(fileSystemPath, urlPrefix, pathPrefix) 192 var entry = new WebInspector.FileSystemMapping.Entry(fileSystemPath, urlPrefix, pathPrefix); 200 * @param {string} urlPrefix 203 removeFileMapping: function(fileSystemPath, urlPrefix, pathPrefix) 256 var urlPrefix = this._urlPrefixes[i]; 257 if (url.startsWith(urlPrefix)) [all...] |
/external/chromium_org/chrome/renderer/safe_browsing/ |
malware_dom_details_browsertest.cc | 21 const char* urlprefix = "data:text/html;charset=utf-8,"; local 29 EXPECT_EQ(GURL(urlprefix + html), params[0].url); 40 GURL url(urlprefix + html); 58 GURL iframe2_url(urlprefix + iframe2_html); 61 GURL iframe1_url(urlprefix + iframe1_html); 64 GURL url(urlprefix + html); 103 GURL iframe_url(base::StringPrintf("%s%d", urlprefix, i)); 107 GURL url(urlprefix + html); 119 GURL script_url(base::StringPrintf("%s%d", urlprefix, i)); 123 GURL url(urlprefix + html) [all...] |
/external/chromium_org/components/url_matcher/ |
url_matcher_constants.cc | 30 const char kURLPrefixKey[] = "urlPrefix";
|
/external/chromium_org/chrome/browser/history/ |
scored_history_match.cc | 96 // URLPrefix such as http://www and https:// (note that one of these 107 const URLPrefix* best_inlineable_prefix = 109 URLPrefix::BestURLPrefix(UTF8ToUTF16(gurl.spec()), terms[0]) : 136 const URLPrefix* best_prefix = 137 URLPrefix::BestURLPrefix(UTF8ToUTF16(gurl.spec()), base::string16());
|
/external/chromium_org/chrome/common/extensions/api/ |
events.json | 303 "urlPrefix": {
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gmail/ |
background.js | 310 // TODO(aa): Cannot use urlPrefix because all the url fields lack the protocol
|