/external/chromium_org/url/ |
origin.cc | 5 #include "url/origin.h" 11 Origin::Origin() : string_("null") {} 13 Origin::Origin(const std::string& origin) : string_(origin) { 14 DCHECK(origin == "null" || MatchPattern(origin, "?*://?*")); 15 DCHECK_GT(origin.size(), 0u) [all...] |
origin.h | 14 // Origin represents a Web Origin serialized to a string. 16 class URL_EXPORT Origin { 18 Origin(); 19 explicit Origin(const std::string& origin); 23 bool IsSameAs(const Origin& that) const {
|
origin_unittest.cc | 6 #include "url/origin.h" 12 // Each test examines the Origin is constructed correctly without 15 Origin origin; local 16 EXPECT_EQ("null", origin.string()); 20 Origin origin("null"); 21 EXPECT_EQ("null", origin.string()); 25 Origin origin("http://example.com:8080") [all...] |
/external/chromium_org/chrome/browser/prerender/ |
prerender_histograms.h | 47 void RecordPerceivedPageLoadTime(Origin origin, 55 void RecordPercentLoadDoneAtSwapin(Origin origin, double fraction) const; 59 void RecordPageLoadTimeNotSwappedIn(Origin origin, 65 void RecordTimeUntilUsed(Origin origin, 70 void RecordAbandonTimeUntilUsed(Origin origin, [all...] |
prerender_origin.h | 10 // Origin indicates what caused the prerender. 12 enum Origin { 29 // Return a human-readable name for |origin|. 30 const char* NameFromOrigin(Origin origin);
|
prerender_origin.cc | 36 const char* NameFromOrigin(Origin origin) { 37 DCHECK(static_cast<int>(origin) >= 0 && 38 origin <= ORIGIN_MAX); 39 return kOriginNames[origin];
|
prerender_histograms.cc | 35 std::string GetHistogramName(Origin origin, uint8 experiment_id, 40 if (origin == ORIGIN_GWS_PRERENDER) { 50 switch (origin) { 78 bool OriginIsOmnibox(Origin origin) { 79 return origin == ORIGIN_OMNIBOX; 84 // Helper macros for experiment-based and origin-based histogram reporting. 88 #define PREFIXED_HISTOGRAM(histogram_name, origin, HISTOGRAM) \ 89 PREFIXED_HISTOGRAM_INTERNAL(origin, GetCurrentExperimentId(), [all...] |
prerender_history.h | 30 Entry() : final_status(FINAL_STATUS_MAX), origin(ORIGIN_MAX) {} 34 Origin origin_arg, 37 origin(origin_arg), 50 // The Origin describing where the prerender originated from. 51 Origin origin; member in struct:prerender::PrerenderHistory::Entry
|
prerender_tab_helper.h | 80 void WouldHavePrerenderedNextLoad(Origin origin); 107 // If |navigation_type_| is not NAVIGATION_TYPE_NORMAL, the origin of the 109 Origin origin_; 113 // actual load begins. |next_load_origin_| gives the origin of the control 116 Origin next_load_origin_;
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebSerializedOrigin.h | 11 #include <url/origin.h> 18 // WebSerializedOrigin represents a serialized Web Origin specified in RFC6454. 25 WebSerializedOrigin(const url::Origin& origin) : m_string(WebString::fromUTF8(origin.string())) { } 26 operator url::Origin() const { return url::Origin(m_string.utf8()); }
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
ViewportStyleResolver.h | 53 enum Origin { UserAgentOrigin, AuthorOrigin }; 55 void collectViewportRules(RuleSet*, Origin); 64 void addViewportRule(StyleRuleViewport*, Origin);
|
/external/chromium_org/chrome/common/ |
search_types.h | 27 enum Origin { 38 SearchMode() : mode(MODE_DEFAULT), origin(ORIGIN_DEFAULT) { 41 SearchMode(Type in_mode, Origin in_origin) 43 origin(in_origin) { 47 return mode == rhs.mode && origin == rhs.origin; 75 return origin == ORIGIN_DEFAULT; 79 return origin == ORIGIN_SEARCH; 83 return origin == ORIGIN_NTP; 87 Origin origin member in struct:SearchMode [all...] |
/external/compiler-rt/lib/msan/ |
msan_origin.h | 10 // Origin id utils. 17 // Origin handling. 19 // Origin is a 32-bit identifier that is attached to any uninitialized value in 23 // Origin ids are values of ChainedOriginDepot, which is a mapping of (stack_id, 27 // * prev_id is another origin id that describes the earlier part of the 33 // points in value history marked with origin ids, and edges are events that are 36 // There are 2 special root origin ids: 37 // * kHeapRoot - an origin with prev_id == kHeapRoot describes an event of 39 // * kStackRoot - an origin with prev_id == kStackRoot describes an event of 44 // Three highest bits of origin id are used to store the length (or depth) o [all...] |
msan_report.cc | 34 const char *Origin() { return Magenta(); } 45 Printf("%s", d.Origin()); 49 d.Origin(), d.Name(), s, d.Origin(), d.Name(), 50 Symbolizer::Get()->Demangle(sep + 1), d.Origin(), d.End()); 62 VPrintf(1, " raw origin id: %d\n", id); 65 Origin o(id); 67 Printf(" %sinvalid origin id(%d)%s\n", d.Warning(), id, d.End()); 72 Origin prev_o(prev_id); 83 d.Origin(), d.End()) [all...] |
/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/ |
desktop_configuration.h | 45 enum Origin { BottomLeftOrigin, TopLeftOrigin }; 51 // (the origin is the bottom-left of the primary monitor, and coordinates 53 static MacDesktopConfiguration GetCurrent(Origin origin);
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
WebStorageAdapter.java | 42 Map<String, Origin> originsMap = new HashMap<String, Origin>(); 44 Origin origin = new Origin(origins.mOrigins[i], origins.mQuotas[i], 47 // of Origin constructor. 49 originsMap.put(origins.mOrigins[i], origin); 57 public void getUsageForOrigin(String origin, ValueCallback<Long> callback) { 58 mQuotaManagerBridge.getUsageForOrigin(origin, callback); 62 public void getQuotaForOrigin(String origin, ValueCallback<Long> callback) [all...] |
/external/chromium_org/content/browser/renderer_host/ |
websocket_host.h | 18 class Origin; 59 const url::Origin& origin,
|
/external/chromium_org/content/public/common/ |
common_param_traits.cc | 54 void ParamTraits<url::Origin>::Write(Message* m, 55 const url::Origin& p) { 59 bool ParamTraits<url::Origin>::Read(const Message* m, 61 url::Origin* p) { 64 *p = url::Origin(); 67 *p = url::Origin(s); 71 void ParamTraits<url::Origin>::Log(const url::Origin& p, std::string* l) {
|
/frameworks/base/core/java/android/webkit/ |
WebStorage.java | 30 * Cache API can be attributed to an origin {@link WebStorage.Origin}, however 31 * it is not possible to set per-origin quotas. Note that there can be only 34 * The Web SQL Database API provides storage which is private to a given origin. 36 * to an origin. It is also possible to set per-origin quotas. 60 * currently used by an origin for the JavaScript storage APIs. 61 * An origin comprises the host, scheme and port of a URI. 64 public static class Origin { 71 protected Origin(String origin, long quota, long usage) [all...] |
/frameworks/compile/mclinker/include/mcld/MC/ |
ZOption.h | 41 Origin,
|
/external/chromium_org/net/cert/ |
signed_certificate_timestamp.h | 99 enum Origin { 117 // The origin should not participate in equality checks 119 Origin origin; member in struct:net::ct::SignedCertificateTimestamp
|
/external/chromium_org/net/websockets/ |
websocket_stream.h | 26 class Origin; 106 const url::Origin& origin,
|
websocket_test_util.h | 22 class Origin; 51 const url::Origin& origin, 61 const std::string& origin,
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
GrGLShaderVar.h | 25 enum Origin { 26 kDefault_Origin, // when set to kDefault the origin field is ignored. 87 Origin origin = kDefault_Origin, 91 fOrigin = origin; 102 Origin origin = kDefault_Origin, 106 fOrigin = origin; 118 Origin origin = kDefault_Origin [all...] |
/external/skia/src/gpu/gl/ |
GrGLShaderVar.h | 53 enum Origin { 54 kDefault_Origin, // when set to kDefault the origin field is ignored. 108 Origin origin = kDefault_Origin, 116 fOrigin = origin; 127 Origin origin = kDefault_Origin, 135 fOrigin = origin; 147 Origin origin = kDefault_Origin [all...] |