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

Side by Side Diff: chrome/browser/devtools/devtools_target_impl.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_DEVTOOLS_DEVTOOLS_TARGET_IMPL_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TARGET_IMPL_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TARGET_IMPL_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TARGET_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 17 matching lines...) Expand all
28 static const char kTargetTypeWebView[]; 28 static const char kTargetTypeWebView[];
29 static const char kTargetTypeIFrame[]; 29 static const char kTargetTypeIFrame[];
30 static const char kTargetTypeOther[]; 30 static const char kTargetTypeOther[];
31 static const char kTargetTypeServiceWorker[]; 31 static const char kTargetTypeServiceWorker[];
32 32
33 explicit DevToolsTargetImpl( 33 explicit DevToolsTargetImpl(
34 scoped_refptr<content::DevToolsAgentHost> agent_host); 34 scoped_refptr<content::DevToolsAgentHost> agent_host);
35 virtual ~DevToolsTargetImpl(); 35 virtual ~DevToolsTargetImpl();
36 36
37 // content::DevToolsTarget overrides: 37 // content::DevToolsTarget overrides:
38 virtual std::string GetId() const OVERRIDE; 38 virtual std::string GetId() const override;
39 virtual std::string GetParentId() const OVERRIDE; 39 virtual std::string GetParentId() const override;
40 virtual std::string GetType() const OVERRIDE; 40 virtual std::string GetType() const override;
41 virtual std::string GetTitle() const OVERRIDE; 41 virtual std::string GetTitle() const override;
42 virtual std::string GetDescription() const OVERRIDE; 42 virtual std::string GetDescription() const override;
43 virtual GURL GetURL() const OVERRIDE; 43 virtual GURL GetURL() const override;
44 virtual GURL GetFaviconURL() const OVERRIDE; 44 virtual GURL GetFaviconURL() const override;
45 virtual base::TimeTicks GetLastActivityTime() const OVERRIDE; 45 virtual base::TimeTicks GetLastActivityTime() const override;
46 virtual scoped_refptr<content::DevToolsAgentHost> 46 virtual scoped_refptr<content::DevToolsAgentHost>
47 GetAgentHost() const OVERRIDE; 47 GetAgentHost() const override;
48 virtual bool IsAttached() const OVERRIDE; 48 virtual bool IsAttached() const override;
49 virtual bool Activate() const OVERRIDE; 49 virtual bool Activate() const override;
50 virtual bool Close() const OVERRIDE; 50 virtual bool Close() const override;
51 51
52 // Returns the WebContents associated with the target on NULL if there is 52 // Returns the WebContents associated with the target on NULL if there is
53 // not any. 53 // not any.
54 virtual content::WebContents* GetWebContents() const; 54 virtual content::WebContents* GetWebContents() const;
55 55
56 // Returns the tab id if the target is associated with a tab, -1 otherwise. 56 // Returns the tab id if the target is associated with a tab, -1 otherwise.
57 virtual int GetTabId() const; 57 virtual int GetTabId() const;
58 58
59 // Returns the extension id if the target is associated with an extension 59 // Returns the extension id if the target is associated with an extension
60 // background page. 60 // background page.
(...skipping 30 matching lines...) Expand all
91 std::string parent_id_; 91 std::string parent_id_;
92 std::string type_; 92 std::string type_;
93 std::string title_; 93 std::string title_;
94 std::string description_; 94 std::string description_;
95 GURL url_; 95 GURL url_;
96 GURL favicon_url_; 96 GURL favicon_url_;
97 base::TimeTicks last_activity_time_; 97 base::TimeTicks last_activity_time_;
98 }; 98 };
99 99
100 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TARGET_IMPL_H_ 100 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_TARGET_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_sanity_browsertest.cc ('k') | chrome/browser/devtools/devtools_target_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698