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

Side by Side Diff: content/browser/screen_orientation/screen_orientation_message_filter_android.h

Issue 884103004: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_MESSAGE_FILTER_AND ROID_H_ 5 #ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_MESSAGE_FILTER_AND ROID_H_
6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_MESSAGE_FILTER_AND ROID_H_ 6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_MESSAGE_FILTER_AND ROID_H_
7 7
8 #include "content/public/browser/browser_message_filter.h" 8 #include "content/public/browser/browser_message_filter.h"
9 9
10 namespace content { 10 namespace content {
11 11
12 class ScreenOrientationMessageFilterAndroid : public BrowserMessageFilter { 12 class ScreenOrientationMessageFilterAndroid : public BrowserMessageFilter {
13 public: 13 public:
14 ScreenOrientationMessageFilterAndroid(); 14 ScreenOrientationMessageFilterAndroid();
15 15
16 // BrowserMessageFilter implementation. 16 // BrowserMessageFilter implementation.
17 virtual bool OnMessageReceived(const IPC::Message& message) override; 17 bool OnMessageReceived(const IPC::Message& message) override;
18 18
19 private: 19 private:
20 virtual ~ScreenOrientationMessageFilterAndroid(); 20 ~ScreenOrientationMessageFilterAndroid() override;
21 21
22 void OnStartListening(); 22 void OnStartListening();
23 void OnStopListening(); 23 void OnStopListening();
24 24
25 int listeners_count_; 25 int listeners_count_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationMessageFilterAndroid); 27 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationMessageFilterAndroid);
28 }; 28 };
29 29
30 } // namespace content 30 } // namespace content
31 31
32 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_MESSAGE_FILTER_ ANDROID_H_ 32 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_MESSAGE_FILTER_ ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698