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

Side by Side Diff: chrome/browser/cache_stats_recorder.h

Issue 2643183002: Convert ChromeViewHostMsg_UpdatedCacheStats to use mojo. (Closed)
Patch Set: Convert ChromeViewHostMsg_UpdatedCacheStats to use mojo. Created 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 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 CHROME_BROWSER_CACHE_STATS_RECORDER_H_
6 #define CHROME_BROWSER_CACHE_STATS_RECORDER_H_
7
8 #include "chrome/common/cache_stats_recorder.mojom.h"
9
10 class CacheStatsRecorder : public chrome::mojom::CacheStatsRecorder {
11 public:
12 explicit CacheStatsRecorder(int render_process_id);
13 ~CacheStatsRecorder() override;
14
15 static void Create(
16 int render_process_id,
17 chrome::mojom::CacheStatsRecorderAssociatedRequest request);
18
19 private:
20 // chrome::mojom::CacheStatsRecorder:
21 void RecordCacheStats(uint64_t capacity, uint64_t size) override;
22
23 const int render_process_id_;
24
25 DISALLOW_COPY_AND_ASSIGN(CacheStatsRecorder);
26 };
27
28 #endif // CHROME_BROWSER_CACHE_STATS_RECORDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698