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

Side by Side Diff: chrome/browser/external_protocol/external_protocol_observer.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_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_
6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ 6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_
7 7
8 #include "content/public/browser/web_contents_observer.h" 8 #include "content/public/browser/web_contents_observer.h"
9 #include "content/public/browser/web_contents_user_data.h" 9 #include "content/public/browser/web_contents_user_data.h"
10 10
11 // ExternalProtocolObserver is responsible for handling messages from 11 // ExternalProtocolObserver is responsible for handling messages from
12 // WebContents relating to external protocols. 12 // WebContents relating to external protocols.
13 class ExternalProtocolObserver 13 class ExternalProtocolObserver
14 : public content::WebContentsObserver, 14 : public content::WebContentsObserver,
15 public content::WebContentsUserData<ExternalProtocolObserver> { 15 public content::WebContentsUserData<ExternalProtocolObserver> {
16 public: 16 public:
17 virtual ~ExternalProtocolObserver(); 17 virtual ~ExternalProtocolObserver();
18 18
19 // content::WebContentsObserver overrides. 19 // content::WebContentsObserver overrides.
20 virtual void DidGetUserGesture() OVERRIDE; 20 virtual void DidGetUserGesture() override;
21 21
22 private: 22 private:
23 explicit ExternalProtocolObserver(content::WebContents* web_contents); 23 explicit ExternalProtocolObserver(content::WebContents* web_contents);
24 friend class content::WebContentsUserData<ExternalProtocolObserver>; 24 friend class content::WebContentsUserData<ExternalProtocolObserver>;
25 25
26 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolObserver); 26 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolObserver);
27 }; 27 };
28 28
29 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ 29 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/external_protocol/external_protocol_handler_unittest.cc ('k') | chrome/browser/fast_shutdown_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698