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

Side by Side Diff: chrome/browser/content_settings/local_shared_objects_counter.h

Issue 640733002: Move local_shared_objects_counter.h to content_settings component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 (c) 2014 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_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_COUNTER_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_COUNTER_H_
7
8 class GURL;
9
10 // An interface to retrieve counts of browser data objects.
11 class LocalSharedObjectsCounter {
12 public:
13 LocalSharedObjectsCounter() {}
14 virtual ~LocalSharedObjectsCounter() {}
15
16 virtual size_t GetObjectCount() const = 0;
17
18 virtual size_t GetObjectCountForDomain(const GURL& url) const = 0;
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(LocalSharedObjectsCounter);
22 };
23
24 #endif // CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_COUNTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698