| Index: content/browser/quota_dispatcher_host.cc
|
| diff --git a/content/browser/quota_dispatcher_host.cc b/content/browser/quota_dispatcher_host.cc
|
| index 3cbfee2c24dcd5c3910d6fd7f14b1a4a29a0812c..a125e3f5ec700ffd115ee6c3202e282537b1eadd 100644
|
| --- a/content/browser/quota_dispatcher_host.cc
|
| +++ b/content/browser/quota_dispatcher_host.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/bind.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "base/numerics/safe_conversions.h"
|
| +#include "base/trace_event/trace_event.h"
|
| #include "content/common/quota_messages.h"
|
| #include "content/public/browser/quota_permission_context.h"
|
| #include "net/base/net_util.h"
|
| @@ -71,6 +72,11 @@ class QuotaDispatcherHost::QueryUsageAndQuotaDispatcher
|
| ~QueryUsageAndQuotaDispatcher() override {}
|
|
|
| void QueryStorageUsageAndQuota(const GURL& origin, StorageType type) {
|
| + // crbug.com/349708
|
| + TRACE_EVENT0("io",
|
| + "QuotaDispatcherHost::QueryUsageAndQuotaDispatcher"
|
| + "::QueryStorageUsageAndQuota");
|
| +
|
| quota_manager()->GetUsageAndQuotaForWebApps(
|
| origin, type,
|
| base::Bind(&QueryUsageAndQuotaDispatcher::DidQueryStorageUsageAndQuota,
|
| @@ -116,6 +122,8 @@ class QuotaDispatcherHost::RequestQuotaDispatcher
|
|
|
| void Start() {
|
| DCHECK(dispatcher_host());
|
| + // crbug.com/349708
|
| + TRACE_EVENT0("io", "QuotaDispatcherHost::RequestQuotaDispatcher::Start");
|
|
|
| DCHECK(params_.storage_type == storage::kStorageTypeTemporary ||
|
| params_.storage_type == storage::kStorageTypePersistent);
|
|
|