OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TwoPhaseUploader
(Results
1 - 5
of
5
) sorted by null
/external/chromium_org/chrome/browser/safe_browsing/
two_phase_uploader.h
35
class
TwoPhaseUploader
: public base::NonThreadSafe {
49
virtual ~
TwoPhaseUploader
() {}
63
//
TwoPhaseUploader
object before completion.
64
static
TwoPhaseUploader
* Create(
74
// a
TwoPhaseUploader
. Useful for tests.
92
virtual
TwoPhaseUploader
* CreateTwoPhaseUploader(
98
const
TwoPhaseUploader
::ProgressCallback& progress_callback,
99
const
TwoPhaseUploader
::FinishCallback& finish_callback) = 0;
two_phase_uploader_unittest.cc
24
Delegate() : state_(
TwoPhaseUploader
::STATE_NONE) {
30
TwoPhaseUploader
::State state,
41
TwoPhaseUploader
::State state_;
78
scoped_ptr<
TwoPhaseUploader
> uploader(
TwoPhaseUploader
::Create(
89
EXPECT_EQ(
TwoPhaseUploader
::STATE_SUCCESS, delegate.state_);
104
scoped_ptr<
TwoPhaseUploader
> uploader(
TwoPhaseUploader
::Create(
115
EXPECT_EQ(
TwoPhaseUploader
::UPLOAD_METADATA, delegate.state_);
126
scoped_ptr<
TwoPhaseUploader
> uploader(TwoPhaseUploader::Create
[
all
...]
download_feedback.cc
60
// Callback for
TwoPhaseUploader
completion. Relays the result to the
63
TwoPhaseUploader
::State state,
80
scoped_ptr<
TwoPhaseUploader
> uploader_;
141
TwoPhaseUploader
::Create(request_context_getter_.get(),
146
TwoPhaseUploader
::ProgressCallback(),
154
TwoPhaseUploader
::State state,
162
case
TwoPhaseUploader
::STATE_SUCCESS: {
171
case
TwoPhaseUploader
::UPLOAD_FILE:
177
case
TwoPhaseUploader
::UPLOAD_METADATA:
download_feedback_unittest.cc
25
class FakeUploader : public
TwoPhaseUploader
{
74
virtual
TwoPhaseUploader
* CreateTwoPhaseUploader(
80
const
TwoPhaseUploader
::ProgressCallback& progress_callback,
81
const
TwoPhaseUploader
::FinishCallback& finish_callback) OVERRIDE;
86
TwoPhaseUploader
* FakeUploaderFactory::CreateTwoPhaseUploader(
92
const
TwoPhaseUploader
::ProgressCallback& progress_callback,
93
const
TwoPhaseUploader
::FinishCallback& finish_callback) {
124
TwoPhaseUploader
::RegisterFactory(&two_phase_uploader_factory_);
128
TwoPhaseUploader
::RegisterFactory(NULL);
199
TwoPhaseUploader
::STATE_SUCCESS, net::OK, 0, "")
[
all
...]
two_phase_uploader.cc
27
public
TwoPhaseUploader
{
193
TwoPhaseUploaderFactory*
TwoPhaseUploader
::factory_ = NULL;
196
TwoPhaseUploader
*
TwoPhaseUploader
::Create(
204
if (!
TwoPhaseUploader
::factory_)
208
return
TwoPhaseUploader
::factory_->CreateTwoPhaseUploader(
Completed in 26 milliseconds