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

Side by Side Diff: components/data_reduction_proxy/proto/store.proto

Issue 1173343009: LevelDB storage for data reduction proxy to store data usage stats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing include Created 5 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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 // Protocol buffer definitions for Data Reduction Proxy data stored in LevelDB.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package data_reduction_proxy;
12
13 // Contains data usage for an interval of time.
14 message DataUsageBucket {
15 repeated PerSiteDataUsage site_usage = 1;
16 optional int64 last_updated_timestamp = 2;
17 }
18
19 // Data usage for a specific site.
20 message PerSiteDataUsage {
21 required string site_url = 1;
22 required int64 original_content_length = 2;
23 required int64 content_length = 3;
24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698