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

Side by Side Diff: components/translate/content/renderer/static_renderer_cld_data_provider.h

Issue 623133002: replace OVERRIDE and FINAL with override and final in components/ (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
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 COMPONENTS_TRANSLATE_CONTENT_RENDERER_STATIC_RENDERER_CLD_DATA_PROVIDER_ H_ 5 #ifndef COMPONENTS_TRANSLATE_CONTENT_RENDERER_STATIC_RENDERER_CLD_DATA_PROVIDER_ H_
6 #define COMPONENTS_TRANSLATE_CONTENT_RENDERER_STATIC_RENDERER_CLD_DATA_PROVIDER_ H_ 6 #define COMPONENTS_TRANSLATE_CONTENT_RENDERER_STATIC_RENDERER_CLD_DATA_PROVIDER_ H_
7 7
8 #include "base/files/file.h" 8 #include "base/files/file.h"
9 #include "base/files/memory_mapped_file.h" 9 #include "base/files/memory_mapped_file.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "components/translate/content/renderer/renderer_cld_data_provider.h" 13 #include "components/translate/content/renderer/renderer_cld_data_provider.h"
14 #include "ipc/ipc_platform_file.h" 14 #include "ipc/ipc_platform_file.h"
15 15
16 namespace translate { 16 namespace translate {
17 17
18 class StaticRendererCldDataProvider : public RendererCldDataProvider { 18 class StaticRendererCldDataProvider : public RendererCldDataProvider {
19 public: 19 public:
20 explicit StaticRendererCldDataProvider(); 20 explicit StaticRendererCldDataProvider();
21 virtual ~StaticRendererCldDataProvider(); 21 virtual ~StaticRendererCldDataProvider();
22 // RendererCldDataProvider implementations: 22 // RendererCldDataProvider implementations:
23 virtual bool OnMessageReceived(const IPC::Message&) OVERRIDE; 23 virtual bool OnMessageReceived(const IPC::Message&) override;
24 virtual void SendCldDataRequest() OVERRIDE; 24 virtual void SendCldDataRequest() override;
25 virtual void SetCldAvailableCallback(base::Callback<void(void)>) OVERRIDE; 25 virtual void SetCldAvailableCallback(base::Callback<void(void)>) override;
26 virtual bool IsCldDataAvailable() OVERRIDE; 26 virtual bool IsCldDataAvailable() override;
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(StaticRendererCldDataProvider); 29 DISALLOW_COPY_AND_ASSIGN(StaticRendererCldDataProvider);
30 }; 30 };
31 31
32 } // namespace translate 32 } // namespace translate
33 33
34 #endif // COMPONENTS_TRANSLATE_CONTENT_RENDERER_STATIC_RENDERER_CLD_DATA_PROVID ER_H_ 34 #endif // COMPONENTS_TRANSLATE_CONTENT_RENDERER_STATIC_RENDERER_CLD_DATA_PROVID ER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698