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

Side by Side Diff: extensions/browser/guest_view/guest_view_manager.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (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 EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_ 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_ 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const std::string& embedder_extension_id, 74 const std::string& embedder_extension_id,
75 int embedder_render_process_id, 75 int embedder_render_process_id,
76 const content::WebContents::CreateParams& create_params); 76 const content::WebContents::CreateParams& create_params);
77 77
78 content::SiteInstance* GetGuestSiteInstance( 78 content::SiteInstance* GetGuestSiteInstance(
79 const GURL& guest_site); 79 const GURL& guest_site);
80 80
81 // BrowserPluginGuestManager implementation. 81 // BrowserPluginGuestManager implementation.
82 virtual content::WebContents* GetGuestByInstanceID( 82 virtual content::WebContents* GetGuestByInstanceID(
83 content::WebContents* embedder_web_contents, 83 content::WebContents* embedder_web_contents,
84 int element_instance_id) OVERRIDE; 84 int element_instance_id) override;
85 virtual bool ForEachGuest(content::WebContents* embedder_web_contents, 85 virtual bool ForEachGuest(content::WebContents* embedder_web_contents,
86 const GuestCallback& callback) OVERRIDE; 86 const GuestCallback& callback) override;
87 protected: 87 protected:
88 friend class GuestViewBase; 88 friend class GuestViewBase;
89 FRIEND_TEST_ALL_PREFIXES(GuestViewManagerTest, AddRemove); 89 FRIEND_TEST_ALL_PREFIXES(GuestViewManagerTest, AddRemove);
90 90
91 // Can be overriden in tests. 91 // Can be overriden in tests.
92 virtual void AddGuest(int guest_instance_id, 92 virtual void AddGuest(int guest_instance_id,
93 content::WebContents* guest_web_contents); 93 content::WebContents* guest_web_contents);
94 94
95 // Can be overriden in tests. 95 // Can be overriden in tests.
96 virtual void RemoveGuest(int guest_instance_id); 96 virtual void RemoveGuest(int guest_instance_id);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 std::set<int> removed_instance_ids_; 149 std::set<int> removed_instance_ids_;
150 150
151 content::BrowserContext* context_; 151 content::BrowserContext* context_;
152 152
153 DISALLOW_COPY_AND_ASSIGN(GuestViewManager); 153 DISALLOW_COPY_AND_ASSIGN(GuestViewManager);
154 }; 154 };
155 155
156 } // namespace extensions 156 } // namespace extensions
157 157
158 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_ 158 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_GUEST_VIEW_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698