Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: content/browser/indexed_db/indexed_db_internals_ui.h

Issue 1841553002: IndexedDB: Use url::Origin rather than GURL for representing origins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@origin-idb
Patch Set: Rebased Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_internals_ui.h
diff --git a/content/browser/indexed_db/indexed_db_internals_ui.h b/content/browser/indexed_db/indexed_db_internals_ui.h
index bcf7e2da7c1aa253fcedf4c5c389635596b73ca4..9084d73ba45ef163616e772c66286be1af7ef5fb 100644
--- a/content/browser/indexed_db/indexed_db_internals_ui.h
+++ b/content/browser/indexed_db/indexed_db_internals_ui.h
@@ -20,6 +20,10 @@ namespace base {
class ListValue;
}
+namespace url {
+class Origin;
+}
+
namespace content {
class DownloadItem;
@@ -45,14 +49,14 @@ class IndexedDBInternalsUI : public WebUIController {
void DownloadOriginDataOnIndexedDBThread(
const base::FilePath& partition_path,
const scoped_refptr<IndexedDBContextImpl> context,
- const GURL& origin_url);
+ const url::Origin& origin);
void OnDownloadDataReady(const base::FilePath& partition_path,
- const GURL& origin_url,
+ const url::Origin& origin,
const base::FilePath temp_path,
const base::FilePath zip_path,
size_t connection_count);
void OnDownloadStarted(const base::FilePath& partition_path,
- const GURL& origin_url,
+ const url::Origin& origin,
const base::FilePath& temp_path,
size_t connection_count,
DownloadItem* item,
@@ -62,16 +66,16 @@ class IndexedDBInternalsUI : public WebUIController {
void ForceCloseOriginOnIndexedDBThread(
const base::FilePath& partition_path,
const scoped_refptr<IndexedDBContextImpl> context,
- const GURL& origin_url);
+ const url::Origin& origin);
void OnForcedClose(const base::FilePath& partition_path,
- const GURL& origin_url,
+ const url::Origin& origin,
size_t connection_count);
bool GetOriginContext(const base::FilePath& path,
- const GURL& origin_url,
+ const url::Origin& origin,
scoped_refptr<IndexedDBContextImpl>* context);
bool GetOriginData(const base::ListValue* args,
base::FilePath* path,
- GURL* origin_url,
+ url::Origin* origin,
scoped_refptr<IndexedDBContextImpl>* context);
DISALLOW_COPY_AND_ASSIGN(IndexedDBInternalsUI);
« no previous file with comments | « content/browser/indexed_db/indexed_db_fake_backing_store.cc ('k') | content/browser/indexed_db/indexed_db_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698