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

Side by Side Diff: chrome/browser/android/thumbnail/thumbnail_store.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_ANDROID_THUMBNAIL_THUMBNAIL_STORE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_STORE_H_
6 #define CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_STORE_H_ 6 #define CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_STORE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void RemoveFromDiskAtAndAboveId(TabId min_id); 65 void RemoveFromDiskAtAndAboveId(TabId min_id);
66 void InvalidateThumbnailIfChanged(TabId tab_id, const GURL& url); 66 void InvalidateThumbnailIfChanged(TabId tab_id, const GURL& url);
67 bool CheckAndUpdateThumbnailMetaData(TabId tab_id, const GURL& url); 67 bool CheckAndUpdateThumbnailMetaData(TabId tab_id, const GURL& url);
68 void UpdateVisibleIds(const TabIdList& priority); 68 void UpdateVisibleIds(const TabIdList& priority);
69 void DecompressThumbnailFromFile( 69 void DecompressThumbnailFromFile(
70 TabId tab_id, 70 TabId tab_id,
71 const base::Callback<void(bool, SkBitmap)>& 71 const base::Callback<void(bool, SkBitmap)>&
72 post_decompress_callback); 72 post_decompress_callback);
73 73
74 // ThumbnailDelegate implementation 74 // ThumbnailDelegate implementation
75 virtual void InvalidateCachedThumbnail(Thumbnail* thumbnail) OVERRIDE; 75 virtual void InvalidateCachedThumbnail(Thumbnail* thumbnail) override;
76 76
77 private: 77 private:
78 class ThumbnailMetaData { 78 class ThumbnailMetaData {
79 public: 79 public:
80 ThumbnailMetaData(); 80 ThumbnailMetaData();
81 ThumbnailMetaData(const base::Time& current_time, const GURL& url); 81 ThumbnailMetaData(const base::Time& current_time, const GURL& url);
82 const GURL& url() const { return url_; } 82 const GURL& url() const { return url_; }
83 base::Time capture_time() const { return capture_time_; } 83 base::Time capture_time() const { return capture_time_; }
84 84
85 private: 85 private:
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 TabIdList visible_ids_; 160 TabIdList visible_ids_;
161 161
162 content::UIResourceProvider* ui_resource_provider_; 162 content::UIResourceProvider* ui_resource_provider_;
163 163
164 base::WeakPtrFactory<ThumbnailStore> weak_factory_; 164 base::WeakPtrFactory<ThumbnailStore> weak_factory_;
165 165
166 DISALLOW_COPY_AND_ASSIGN(ThumbnailStore); 166 DISALLOW_COPY_AND_ASSIGN(ThumbnailStore);
167 }; 167 };
168 168
169 #endif // CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_STORE_H_ 169 #endif // CHROME_BROWSER_ANDROID_THUMBNAIL_THUMBNAIL_STORE_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/thumbnail/thumbnail.h ('k') | chrome/browser/android/webapps/single_tab_mode_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698