Home | History | Annotate | Download | only in browser
      1 // Copyright 2013 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #ifndef CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
      6 #define CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
      7 
      8 #include "base/time/time.h"
      9 #include "content/common/content_export.h"
     10 #include "url/gurl.h"
     11 
     12 namespace content {
     13 
     14 // Used to report Local Storage usage info by DOMStorageContext.
     15 struct CONTENT_EXPORT LocalStorageUsageInfo {
     16   GURL origin;
     17   size_t data_size;
     18   base::Time last_modified;
     19 
     20   LocalStorageUsageInfo();
     21   ~LocalStorageUsageInfo();
     22 };
     23 
     24 }  // namespace content
     25 
     26 #endif  // CONTENT_PUBLIC_BROWSER_LOCAL_STORAGE_USAGE_INFO_H_
     27