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

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

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_
6 #define CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ 6 #define CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "components/content_settings/core/browser/local_shared_objects_counter. h" 10 #include "components/content_settings/core/browser/local_shared_objects_counter. h"
11 11
12 class CannedBrowsingDataAppCacheHelper; 12 class CannedBrowsingDataAppCacheHelper;
13 class CannedBrowsingDataChannelIDHelper; 13 class CannedBrowsingDataChannelIDHelper;
14 class CannedBrowsingDataCookieHelper; 14 class CannedBrowsingDataCookieHelper;
15 class CannedBrowsingDataDatabaseHelper; 15 class CannedBrowsingDataDatabaseHelper;
16 class CannedBrowsingDataFileSystemHelper; 16 class CannedBrowsingDataFileSystemHelper;
17 class CannedBrowsingDataIndexedDBHelper; 17 class CannedBrowsingDataIndexedDBHelper;
18 class CannedBrowsingDataLocalStorageHelper; 18 class CannedBrowsingDataLocalStorageHelper;
19 class CannedBrowsingDataServiceWorkerHelper; 19 class CannedBrowsingDataServiceWorkerHelper;
20 class CookiesTreeModel; 20 class CookiesTreeModel;
21 class Profile; 21 class Profile;
22 22
23 class LocalSharedObjectsContainer : public LocalSharedObjectsCounter { 23 class LocalSharedObjectsContainer : public LocalSharedObjectsCounter {
24 public: 24 public:
25 explicit LocalSharedObjectsContainer(Profile* profile); 25 explicit LocalSharedObjectsContainer(Profile* profile);
26 virtual ~LocalSharedObjectsContainer(); 26 virtual ~LocalSharedObjectsContainer();
27 27
28 // LocalSharedObjectsCounter: 28 // LocalSharedObjectsCounter:
29 virtual size_t GetObjectCount() const OVERRIDE; 29 virtual size_t GetObjectCount() const override;
30 virtual size_t GetObjectCountForDomain(const GURL& url) const OVERRIDE; 30 virtual size_t GetObjectCountForDomain(const GURL& url) const override;
31 31
32 // Empties the container. 32 // Empties the container.
33 void Reset(); 33 void Reset();
34 34
35 // Creates a new CookiesTreeModel for all objects in the container, 35 // Creates a new CookiesTreeModel for all objects in the container,
36 // copying each of them. 36 // copying each of them.
37 scoped_ptr<CookiesTreeModel> CreateCookiesTreeModel() const; 37 scoped_ptr<CookiesTreeModel> CreateCookiesTreeModel() const;
38 38
39 CannedBrowsingDataAppCacheHelper* appcaches() const { 39 CannedBrowsingDataAppCacheHelper* appcaches() const {
40 return appcaches_.get(); 40 return appcaches_.get();
(...skipping 29 matching lines...) Expand all
70 scoped_refptr<CannedBrowsingDataFileSystemHelper> file_systems_; 70 scoped_refptr<CannedBrowsingDataFileSystemHelper> file_systems_;
71 scoped_refptr<CannedBrowsingDataIndexedDBHelper> indexed_dbs_; 71 scoped_refptr<CannedBrowsingDataIndexedDBHelper> indexed_dbs_;
72 scoped_refptr<CannedBrowsingDataLocalStorageHelper> local_storages_; 72 scoped_refptr<CannedBrowsingDataLocalStorageHelper> local_storages_;
73 scoped_refptr<CannedBrowsingDataServiceWorkerHelper> service_workers_; 73 scoped_refptr<CannedBrowsingDataServiceWorkerHelper> service_workers_;
74 scoped_refptr<CannedBrowsingDataLocalStorageHelper> session_storages_; 74 scoped_refptr<CannedBrowsingDataLocalStorageHelper> session_storages_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(LocalSharedObjectsContainer); 76 DISALLOW_COPY_AND_ASSIGN(LocalSharedObjectsContainer);
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_ 79 #endif // CHROME_BROWSER_CONTENT_SETTINGS_LOCAL_SHARED_OBJECTS_CONTAINER_H_
OLDNEW
« no previous file with comments | « chrome/browser/content_settings/host_content_settings_map.h ('k') | chrome/browser/content_settings/mock_settings_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698