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

Side by Side Diff: chrome/browser/web_resource/gpu_blacklist_updater.h

Issue 8614003: Add OVERRIDE to chrome/browser/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_WEB_RESOURCE_GPU_BLACKLIST_UPDATER_H_ 5 #ifndef CHROME_BROWSER_WEB_RESOURCE_GPU_BLACKLIST_UPDATER_H_
6 #define CHROME_BROWSER_WEB_RESOURCE_GPU_BLACKLIST_UPDATER_H_ 6 #define CHROME_BROWSER_WEB_RESOURCE_GPU_BLACKLIST_UPDATER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/web_resource/web_resource_service.h" 9 #include "chrome/browser/web_resource/web_resource_service.h"
10 10
11 class GpuBlacklistUpdater : public WebResourceService { 11 class GpuBlacklistUpdater : public WebResourceService {
12 public: 12 public:
13 GpuBlacklistUpdater(); 13 GpuBlacklistUpdater();
14 14
15 // Initialize GpuDataManager, and post a SetupOnUIThread task. 15 // Initialize GpuDataManager, and post a SetupOnUIThread task.
16 static void SetupOnFileThread(); 16 static void SetupOnFileThread();
17 17
18 // URL of the up-to-date gpu_blacklist.json file. 18 // URL of the up-to-date gpu_blacklist.json file.
19 static const char* kDefaultGpuBlacklistURL; 19 static const char* kDefaultGpuBlacklistURL;
20 20
21 private: 21 private:
22 virtual ~GpuBlacklistUpdater(); 22 virtual ~GpuBlacklistUpdater();
23 23
24 virtual void Unpack(const base::DictionaryValue& parsed_json); 24 virtual void Unpack(const base::DictionaryValue& parsed_json) OVERRIDE;
25 25
26 // Initialize GpuBlacklistUpdater and schedule an auto update. 26 // Initialize GpuBlacklistUpdater and schedule an auto update.
27 static void SetupOnUIThread(); 27 static void SetupOnUIThread();
28 28
29 void InitializeGpuBlacklist(); 29 void InitializeGpuBlacklist();
30 30
31 void UpdateGpuBlacklist( 31 void UpdateGpuBlacklist(
32 const base::DictionaryValue& gpu_blacklist_cache, bool preliminary); 32 const base::DictionaryValue& gpu_blacklist_cache, bool preliminary);
33 33
34 DISALLOW_COPY_AND_ASSIGN(GpuBlacklistUpdater); 34 DISALLOW_COPY_AND_ASSIGN(GpuBlacklistUpdater);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_WEB_RESOURCE_GPU_BLACKLIST_UPDATER_H_ 37 #endif // CHROME_BROWSER_WEB_RESOURCE_GPU_BLACKLIST_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/visitedlink/visitedlink_event_listener.h ('k') | chrome/browser/webdata/autofill_table.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698