Home
last modified time | relevance | path

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

12345

/external/chromium_org/content/browser/service_worker/
Dservice_worker_version_unittest.cc127 version_ = new ServiceWorkerVersion( in SetUp()
131 int embedded_worker_id = version_->embedded_worker()->embedded_worker_id(); in SetUp()
133 ASSERT_TRUE(version_->HasProcessToRun()); in SetUp()
137 version_ = 0; in TearDown()
145 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerVersionTest
154 version_->StartWorker(CreateReceiverOnCurrentThread(&status1)); in TEST_F()
155 version_->StartWorker(CreateReceiverOnCurrentThread(&status2)); in TEST_F()
157 EXPECT_EQ(ServiceWorkerVersion::STARTING, version_->running_status()); in TEST_F()
159 EXPECT_EQ(ServiceWorkerVersion::RUNNING, version_->running_status()); in TEST_F()
162 version_->StartWorker(CreateReceiverOnCurrentThread(&status3)); in TEST_F()
[all …]
Dservice_worker_provider_host_unittest.cc38 version_ = new ServiceWorkerVersion( in SetUp()
61 version_ = 0; in TearDown()
69 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerProviderHostTest
81 ASSERT_FALSE(version_->HasProcessToRun()); in TEST_F()
85 provider_host1_->SetActiveVersion(version_); in TEST_F()
86 ASSERT_TRUE(version_->HasProcessToRun()); in TEST_F()
89 provider_host1_->SetActiveVersion(version_); in TEST_F()
90 ASSERT_TRUE(version_->HasProcessToRun()); in TEST_F()
95 ASSERT_FALSE(version_->HasProcessToRun()); in TEST_F()
100 ASSERT_FALSE(version_->HasProcessToRun()); in TEST_F()
[all …]
Dservice_worker_fetch_dispatcher.cc17 : version_(version), in ServiceWorkerFetchDispatcher()
30 DCHECK(version_->status() == ServiceWorkerVersion::ACTIVATING || in Run()
31 version_->status() == ServiceWorkerVersion::ACTIVE) in Run()
32 << version_->status(); in Run()
34 if (version_->status() == ServiceWorkerVersion::ACTIVATING) { in Run()
35 version_->RegisterStatusChangeCallback( in Run()
44 if (version_->status() != ServiceWorkerVersion::ACTIVE) { in DidWaitActivation()
45 DCHECK_EQ(ServiceWorkerVersion::INSTALLED, version_->status()); in DidWaitActivation()
63 version_->DispatchFetchEvent( in DispatchFetchEvent()
Dservice_worker_context_request_handler.cc26 version_(provider_host_->running_hosted_version()) { in ServiceWorkerContextRequestHandler()
36 if (!provider_host_ || !version_ || !context_) in MaybeCreateJob()
58 request, network_delegate, context_, version_, response_id); in MaybeCreateJob()
74 if (version_->status() != ServiceWorkerVersion::NEW) in ShouldAddToScriptCache()
76 return version_->script_cache_map()->Lookup(url) == in ShouldAddToScriptCache()
83 if (version_->status() == ServiceWorkerVersion::NEW || in ShouldReadFromScriptCache()
84 version_->status() == ServiceWorkerVersion::INSTALLING) in ShouldReadFromScriptCache()
86 *response_id_out = version_->script_cache_map()->Lookup(url); in ShouldReadFromScriptCache()
Dservice_worker_handle_unittest.cc54 version_ = new ServiceWorkerVersion( in SetUp()
58 int embedded_worker_id = version_->embedded_worker()->embedded_worker_id(); in SetUp()
64 version_ = NULL; in TearDown()
73 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerHandleTest
82 version_); in TEST_F()
86 version_->StartWorker(CreateReceiverOnCurrentThread(&status)); in TEST_F()
92 version_->DispatchInstallEvent(-1, CreateReceiverOnCurrentThread(&status)); in TEST_F()
Dservice_worker_url_request_job_unittest.cc102 version_ = new ServiceWorkerVersion( in SetUpWithHelper()
108 provider_host->SetActiveVersion(version_.get()); in SetUpWithHelper()
130 version_ = NULL; in TearDown()
160 scoped_refptr<ServiceWorkerVersion> version_; member in content::ServiceWorkerURLRequestJobTest
173 version_->SetStatus(ServiceWorkerVersion::ACTIVE); in TEST_F()
179 version_->SetStatus(ServiceWorkerVersion::INSTALLED); in TEST_F()
180 version_->DispatchActivateEvent(CreateReceiverOnCurrentThread(&status)); in TEST_F()
225 version_->SetStatus(ServiceWorkerVersion::ACTIVE); in TEST_F()
231 version_->SetStatus(ServiceWorkerVersion::ACTIVE); in TEST_F()
Dservice_worker_browsertest.cc265 version_ = NULL; in TearDownOnIOThread()
299 version_->SetStatus(ServiceWorkerVersion::INSTALLED); in ActivateTestHelper()
349 version_ = new ServiceWorkerVersion( in SetUpRegistrationOnIOThread()
353 AssociateRendererProcessToWorker(version_->embedded_worker()); in SetUpRegistrationOnIOThread()
359 version_->StartWorker(CreateReceiver(BrowserThread::UI, done, result)); in StartOnIOThread()
365 version_->DispatchInstallEvent( in InstallOnIOThread()
372 version_->SetStatus(ServiceWorkerVersion::INSTALLED); in ActivateOnIOThread()
373 version_->DispatchActivateEvent( in ActivateOnIOThread()
383 version_->SetStatus(ServiceWorkerVersion::ACTIVE); in FetchOnIOThread()
384 version_->DispatchFetchEvent( in FetchOnIOThread()
[all …]
Dservice_worker_handle.cc68 version_(version) { in ServiceWorkerHandle()
69 version_->AddListener(this); in ServiceWorkerHandle()
73 version_->RemoveListener(this); in ~ServiceWorkerHandle()
112 info.state = GetWebServiceWorkerState(version_); in GetObjectInfo()
/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 …]
Dspdy_frame_builder.h76 if (version_ > SPDY3) { in take()
77 DLOG_IF(DFATAL, SpdyConstants::GetFrameMaximumSize(version_) < length_) in take()
142 const SpdyMajorVersion version_; variable
/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.cc45 return version_; in GetVersion()
49 version_ = version; in SetVersion()
85 version_(version), in FakeServerEntity()
92 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/third_party/libjingle/source/talk/base/
Dbytebuffer.cc64 version_ = 0; in Construct()
223 ++version_; in Resize()
234 return ReadPosition(start_, version_); in GetReadPosition()
238 if (position.version_ != version_) { in SetReadPosition()
248 ++version_; in Clear()
Dbytebuffer.h107 : start_(start), version_(version) { } in ReadPosition()
109 int version_; variable
126 int version_; variable
/external/chromium_org/sync/internal_api/public/base/
Dinvalidation.cc102 return version_; in version()
145 && version_ == other.version_ in Equals()
156 value->SetString(kVersionKey, base::Int64ToString(version_)); in ToValue()
178 version_(version), in Invalidation()
/external/chromium_org/chrome/browser/resources/cryptotoken/
Dgnubby-u2f.js123 if (this.version_) {
124 cb(-llGnubby.OK, this.version_);
134 self.version_ = v1.buffer;
138 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/freetype/include/internal/
Dftobjs.h1200 version_, \ argument
1218 version_, \
1243 version_, \ argument
1291 version_, \
1412 version_, \ argument
1423 version_, \
1438 version_, \ argument
1451 version_, \
1476 version_, \ argument
1485 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 …]
/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 …]

12345