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

Unified Diff: components/web_cache/common/web_cache_service.mojom

Issue 1706603004: Replace web_cache_messages.h with Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: components/web_cache/common/web_cache_service.mojom
diff --git a/components/web_cache/common/web_cache_service.mojom b/components/web_cache/common/web_cache_service.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..520e8405e275229c3f22f3fed85f76cfedcfb327
--- /dev/null
+++ b/components/web_cache/common/web_cache_service.mojom
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module web_cache;
Ken Rockot(use gerrit already) 2016/02/18 03:45:06 Please always use a mojom suffix for module names,
leonhsl(Using Gerrit) 2016/02/18 08:56:22 Understood and done.
+
+interface WebCacheService {
+ // Set cache capacity values.
+ // Each call is independent, overlapping calls are possible.
+ SetCacheCapacities(uint64 min_dead_capacity,
+ uint64 max_dead_capacity,
+ uint64 capacity);
+ // Clear cache.
+ // Each call is independent, overlapping calls are possible.
+ ClearCache(bool on_navigation);
+};

Powered by Google App Engine
This is Rietveld 408576698