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

Side by Side Diff: chrome/renderer/pepper/pepper_uma_host.h

Issue 630603003: Replacing the OVERRIDE with override in chrome/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ 5 #ifndef CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_
6 #define CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ 6 #define CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 17 matching lines...) Expand all
28 public: 28 public:
29 PepperUMAHost(content::RendererPpapiHost* host, 29 PepperUMAHost(content::RendererPpapiHost* host,
30 PP_Instance instance, 30 PP_Instance instance,
31 PP_Resource resource); 31 PP_Resource resource);
32 32
33 virtual ~PepperUMAHost(); 33 virtual ~PepperUMAHost();
34 34
35 // ppapi::host::ResourceMessageHandler implementation. 35 // ppapi::host::ResourceMessageHandler implementation.
36 virtual int32_t OnResourceMessageReceived( 36 virtual int32_t OnResourceMessageReceived(
37 const IPC::Message& msg, 37 const IPC::Message& msg,
38 ppapi::host::HostMessageContext* context) OVERRIDE; 38 ppapi::host::HostMessageContext* context) override;
39 39
40 private: 40 private:
41 bool IsPluginWhitelisted(); 41 bool IsPluginWhitelisted();
42 bool IsHistogramAllowed(const std::string& histogram); 42 bool IsHistogramAllowed(const std::string& histogram);
43 43
44 int32_t OnHistogramCustomTimes(ppapi::host::HostMessageContext* context, 44 int32_t OnHistogramCustomTimes(ppapi::host::HostMessageContext* context,
45 const std::string& name, 45 const std::string& name,
46 int64_t sample, 46 int64_t sample,
47 int64_t min, 47 int64_t min,
48 int64_t max, 48 int64_t max,
(...skipping 21 matching lines...) Expand all
70 std::set<std::string> allowed_origins_; 70 std::set<std::string> allowed_origins_;
71 // Set of hashed histogram prefixes that can be used from this interface. 71 // Set of hashed histogram prefixes that can be used from this interface.
72 std::set<std::string> allowed_histogram_prefixes_; 72 std::set<std::string> allowed_histogram_prefixes_;
73 // Set of plugin files names that are allowed to use this interface. 73 // Set of plugin files names that are allowed to use this interface.
74 std::set<std::string> allowed_plugin_base_names_; 74 std::set<std::string> allowed_plugin_base_names_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(PepperUMAHost); 76 DISALLOW_COPY_AND_ASSIGN(PepperUMAHost);
77 }; 77 };
78 78
79 #endif // CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_ 79 #endif // CHROME_RENDERER_PEPPER_PEPPER_UMA_HOST_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/pepper_shared_memory_message_filter.h ('k') | chrome/renderer/plugins/chrome_plugin_placeholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698