[M85 Dev][EFL] Fix errors to generate ninja files
[platform/framework/web/chromium-efl.git] / chrome / browser / cache_stats_recorder.h
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       mojo::PendingAssociatedReceiver<chrome::mojom::CacheStatsRecorder>
18           receiver);
19
20  private:
21   // chrome::mojom::CacheStatsRecorder:
22   void RecordCacheStats(uint64_t capacity, uint64_t size) override;
23
24   const int render_process_id_;
25
26   DISALLOW_COPY_AND_ASSIGN(CacheStatsRecorder);
27 };
28
29 #endif  // CHROME_BROWSER_CACHE_STATS_RECORDER_H_