Home
last modified time | relevance | path

Searched refs:version_ (Results 1 – 25 of 119) sorted by relevance

12345

/external/chromium_org/content/browser/service_worker/
Dservice_worker_version_unittest.cc127 version_ = new ServiceWorkerVersion( in SetUp()
140 version_ = 0; in TearDown()
148 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerVersionTest
160 version_->StartWorker(CreateReceiverOnCurrentThread(&status1)); in TEST_F()
161 version_->StartWorker(CreateReceiverOnCurrentThread(&status2)); in TEST_F()
163 EXPECT_EQ(ServiceWorkerVersion::STARTING, version_->running_status()); in TEST_F()
165 EXPECT_EQ(ServiceWorkerVersion::RUNNING, version_->running_status()); in TEST_F()
168 version_->StartWorker(CreateReceiverOnCurrentThread(&status3)); in TEST_F()
180 version_->StopWorker(CreateReceiverOnCurrentThread(&status1)); in TEST_F()
181 version_->StopWorker(CreateReceiverOnCurrentThread(&status2)); in TEST_F()
[all …]
Dservice_worker_controllee_request_handler_unittest.cc47 version_ = new ServiceWorkerVersion( in SetUp()
62 version_ = NULL; in TearDown()
73 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerControlleeRequestHandlerTest
83 version_->SetStatus(ServiceWorkerVersion::INSTALLED); in TEST_F()
84 registration_->SetWaitingVersion(version_.get()); in TEST_F()
87 version_.get(), in TEST_F()
112 EXPECT_FALSE(version_->HasControllee()); in TEST_F()
117 version_->status()); in TEST_F()
120 EXPECT_TRUE(version_->HasControllee()); in TEST_F()
124 EXPECT_TRUE(version_->update_timer_.IsRunning()); in TEST_F()
[all …]
Dservice_worker_context_request_handler.cc28 version_(provider_host_->running_hosted_version()) { in ServiceWorkerContextRequestHandler()
38 if (!provider_host_ || !version_.get() || !context_) in MaybeCreateJob()
57 context_->GetLiveRegistration(version_->registration_id()); in MaybeCreateJob()
76 version_.get(), in MaybeCreateJob()
104 if (version_->status() != ServiceWorkerVersion::NEW && in ShouldAddToScriptCache()
105 version_->status() != ServiceWorkerVersion::INSTALLING) { in ShouldAddToScriptCache()
108 return version_->script_cache_map()->Lookup(url) == in ShouldAddToScriptCache()
115 if (version_->status() == ServiceWorkerVersion::NEW || in ShouldReadFromScriptCache()
116 version_->status() == ServiceWorkerVersion::INSTALLING) in ShouldReadFromScriptCache()
118 *response_id_out = version_->script_cache_map()->Lookup(url); in ShouldReadFromScriptCache()
Dservice_worker_fetch_dispatcher.cc18 : version_(version), in ServiceWorkerFetchDispatcher()
28 DCHECK(version_->status() == ServiceWorkerVersion::ACTIVATING || in Run()
29 version_->status() == ServiceWorkerVersion::ACTIVATED) in Run()
30 << version_->status(); in Run()
32 if (version_->status() == ServiceWorkerVersion::ACTIVATING) { in Run()
33 version_->RegisterStatusChangeCallback( in Run()
42 if (version_->status() != ServiceWorkerVersion::ACTIVATED) { in DidWaitActivation()
43 DCHECK_EQ(ServiceWorkerVersion::INSTALLED, version_->status()); in DidWaitActivation()
65 version_->DispatchFetchEvent( in DispatchFetchEvent()
Dservice_worker_handle_unittest.cc54 version_ = new ServiceWorkerVersion( in SetUp()
65 version_ = NULL; in TearDown()
74 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerHandleTest
86 version_.get()); in TEST_F()
90 version_->StartWorker(CreateReceiverOnCurrentThread(&status)); in TEST_F()
96 version_->SetStatus(ServiceWorkerVersion::INSTALLING); in TEST_F()
97 version_->DispatchInstallEvent(-1, CreateReceiverOnCurrentThread(&status)); in TEST_F()
101 version_->SetStatus(ServiceWorkerVersion::INSTALLED); in TEST_F()
Dservice_worker_provider_host_unittest.cc34 version_ = new ServiceWorkerVersion( in SetUp()
51 version_ = 0; in TearDown()
64 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerProviderHostTest
80 registration_->SetActiveVersion(version_.get()); in TEST_F()
84 registration_->SetActiveVersion(version_.get()); in TEST_F()
100 registration_->SetActiveVersion(version_.get()); in TEST_F()
119 registration_->SetWaitingVersion(version_.get()); in TEST_F()
123 registration_->SetWaitingVersion(version_.get()); in TEST_F()
139 registration_->SetWaitingVersion(version_.get()); in TEST_F()
Dservice_worker_context_request_handler_unittest.cc45 version_ = new ServiceWorkerVersion( in SetUp()
60 version_ = NULL; in TearDown()
71 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerContextRequestHandlerTest
83 version_->SetStatus(ServiceWorkerVersion::NEW); in TEST_F()
84 provider_host_->running_hosted_version_ = version_; in TEST_F()
114 version_->SetStatus(ServiceWorkerVersion::NEW); in TEST_F()
115 provider_host_->running_hosted_version_ = version_; in TEST_F()
Dservice_worker_request_handler_unittest.cc43 version_ = new ServiceWorkerVersion(registration_.get(), in SetUp()
57 version_->SetStatus(ServiceWorkerVersion::ACTIVATED); in SetUp()
58 registration_->SetActiveVersion(version_.get()); in SetUp()
61 version_.get(), in SetUp()
68 version_ = NULL; in TearDown()
101 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerRequestHandlerTest
Dservice_worker_url_request_job_unittest.cc106 version_ = new ServiceWorkerVersion( in SetUpWithHelper()
116 registration_->SetActiveVersion(version_.get()); in SetUpWithHelper()
138 version_ = NULL; in TearDown()
168 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerURLRequestJobTest
182 version_->SetStatus(ServiceWorkerVersion::ACTIVATED); in TEST_F()
224 version_->SetStatus(ServiceWorkerVersion::ACTIVATED); in TEST_F()
230 version_->SetStatus(ServiceWorkerVersion::ACTIVATED); in TEST_F()
Dservice_worker_handle.cc70 version_(version) { in ServiceWorkerHandle()
71 version_->AddListener(this); in ServiceWorkerHandle()
75 version_->RemoveListener(this); in ~ServiceWorkerHandle()
113 info.url = version_->script_url(); in GetObjectInfo()
114 info.state = GetWebServiceWorkerState(version_.get()); in GetObjectInfo()
Dservice_worker_cache_listener.cc52 : version_(version), in ServiceWorkerCacheListener()
97 version_->scope().GetOrigin(), in OnCacheStorageGet()
110 version_->scope().GetOrigin(), in OnCacheStorageHas()
123 version_->scope().GetOrigin(), in OnCacheStorageCreate()
136 version_->scope().GetOrigin(), in OnCacheStorageDelete()
147 version_->scope().GetOrigin(), in OnCacheStorageKeys()
197 version_->embedded_worker()->SendMessage(message); in Send()
/external/chromium_org/chrome_elf/
Dthunk_getter.cc66 version_ = in OSInfo()
68 if (version_ == VERSION_XP_SP2 && version_info.wServicePackMajor < 2) in OSInfo()
69 version_ = VERSION_PRE_XP_SP2; in OSInfo()
74 version_ = VERSION_VISTA; in OSInfo()
78 version_ = VERSION_WIN7; in OSInfo()
82 version_ = VERSION_WIN8; in OSInfo()
85 version_ = VERSION_WIN8_1; in OSInfo()
89 version_ = VERSION_WIN_LAST; in OSInfo()
91 version_ = VERSION_PRE_XP_SP2; in OSInfo()
98 Version version() const { return version_; } in version()
[all …]
/external/chromium_org/net/spdy/
Dspdy_frame_builder.cc40 version_(version) { in SpdyFrameBuilder()
65 DCHECK_GE(SPDY3, version_); in WriteControlFrameHeader()
67 SpdyConstants::SerializeFrameType(version_, type)); in WriteControlFrameHeader()
72 SpdyConstants::SerializeMajorVersion(version_)); in WriteControlFrameHeader()
83 if (version_ > SPDY3) { in WriteDataFrameHeader()
104 DCHECK(SpdyConstants::IsValidFrameType(version_, in BeginNewFrame()
105 SpdyConstants::SerializeFrameType(version_, type))); in BeginNewFrame()
112 DLOG_IF(DFATAL, SpdyConstants::GetFrameMaximumSize(version_) < length_) in BeginNewFrame()
126 SpdyConstants::SerializeFrameType(version_, type)); in BeginNewFrame()
171 if (version_ <= SPDY3) { in OverwriteLength()
[all …]
/external/chromium_org/chrome/browser/extensions/
Dpending_extension_info.cc25 version_(version), in PendingExtensionInfo()
55 if (version_.IsValid() && other.version_.IsValid()) { in CompareTo()
56 int comparison = version_.CompareTo(other.version_); in CompareTo()
/external/chromium_org/base/win/
Dwindows_version.cc37 : version_(VERSION_PRE_XP), in OSInfo()
47 version_ = (version_number_.minor == 1) ? VERSION_XP : VERSION_SERVER_2003; in OSInfo()
52 version_ = VERSION_VISTA; in OSInfo()
56 version_ = VERSION_WIN7; in OSInfo()
60 version_ = VERSION_WIN8; in OSInfo()
64 version_ = VERSION_WIN8_1; in OSInfo()
69 version_ = VERSION_WIN_LAST; in OSInfo()
/external/chromium_org/chrome/installer/util/
Dinstallation_state.cc65 version_.reset(new Version(base::UTF16ToASCII(version_str))); in Initialize()
66 if (!version_->IsValid()) in Initialize()
67 version_.reset(); in Initialize()
144 return version_.get() != NULL; in Initialize()
152 DCHECK(version_.get() != NULL); in version()
153 return *version_; in version()
158 version_.reset(other.version_.get() ? new Version(*other.version_) : NULL); in CopyFrom()
179 version_.reset(); in Clear()
276 return product_state->version_.get() == NULL ? NULL : product_state; in GetProductState()
/external/chromium_org/sync/test/fake_server/
Dfake_server_entity.cc49 return version_; in GetVersion()
53 version_ = version; in SetVersion()
96 version_(version), in FakeServerEntity()
103 sync_entity->set_version(version_); in SerializeBaseProtoFields()
/external/chromium_org/third_party/webrtc/base/
Dbytebuffer.cc47 version_ = 0; in Construct()
206 ++version_; in Resize()
217 return ReadPosition(start_, version_); in GetReadPosition()
221 if (position.version_ != version_) { in SetReadPosition()
231 ++version_; in Clear()
Dbytebuffer.h90 : start_(start), version_(version) { } in ReadPosition()
92 int version_; variable
109 int version_; variable
/external/chromium_org/net/quic/test_tools/
Dquic_test_packet_maker.cc22 : version_(version), in QuicTestPacketMaker()
72 if (version_ > QUIC_VERSION_22) { in MakeAckAndRstPacket()
81 if (send_feedback && version_ <= QUIC_VERSION_22) { in MakeAckAndRstPacket()
95 QuicFramer framer(SupportedVersions(version_), clock_->Now(), false); in MakeAckAndRstPacket()
137 if (version_ > QUIC_VERSION_22) { in MakeAckPacket()
144 QuicFramer framer(SupportedVersions(version_), clock_->Now(), false); in MakeAckPacket()
148 if (send_feedback && version_ <= QUIC_VERSION_22) { in MakeAckPacket()
239 QuicFramer framer(SupportedVersions(version_), QuicTime::Zero(), false); in MakePacket()
/external/chromium_org/components/invalidation/
Dinvalidation.cc102 return version_; in version()
143 version_ == other.version_ && payload_ == other.payload_; in Equals()
153 value->SetString(kVersionKey, base::Int64ToString(version_)); in ToValue()
174 version_(version), in Invalidation()
/external/chromium_org/chrome/browser/resources/cryptotoken/
Dgnubby-u2f.js129 if (this.version_) {
130 cb(-GnubbyDevice.OK, this.version_);
140 self.version_ = v1.buffer;
144 self.version_ = data;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/internal/
Dftobjs.h1208 version_, \ argument
1226 version_, \
1251 version_, \ argument
1299 version_, \
1420 version_, \ argument
1431 version_, \
1446 version_, \ argument
1459 version_, \
1484 version_, \ argument
1493 clazz->root.module_version = version_; \
[all …]
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/
Dftobjs.h1208 version_, \ argument
1226 version_, \
1251 version_, \ argument
1299 version_, \
1420 version_, \ argument
1431 version_, \
1446 version_, \ argument
1459 version_, \
1484 version_, \ argument
1493 clazz->root.module_version = version_; \
[all …]
/external/chromium_org/third_party/freetype/include/freetype/internal/
Dftobjs.h1208 version_, \ argument
1226 version_, \
1251 version_, \ argument
1299 version_, \
1420 version_, \ argument
1431 version_, \
1446 version_, \ argument
1459 version_, \
1484 version_, \ argument
1493 clazz->root.module_version = version_; \
[all …]

12345