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

Side by Side Diff: chrome/browser/guest_view/guest_view.h

Issue 306003002: Move guest lifetime management to chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed content_browsertests crash Created 6 years, 6 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_GUEST_VIEW_GUEST_VIEW_H_ 5 #ifndef CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
6 #define CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ 6 #define CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
7 7
8 #include "chrome/browser/guest_view/guest_view_base.h" 8 #include "chrome/browser/guest_view/guest_view_base.h"
9 9
10 template <typename T> 10 template <typename T>
(...skipping 28 matching lines...) Expand all
39 return T::Type; 39 return T::Type;
40 } 40 }
41 41
42 protected: 42 protected:
43 GuestView(int guest_instance_id, 43 GuestView(int guest_instance_id,
44 content::WebContents* guest_web_contents, 44 content::WebContents* guest_web_contents,
45 const std::string& embedder_extension_id) 45 const std::string& embedder_extension_id)
46 : GuestViewBase(guest_instance_id, 46 : GuestViewBase(guest_instance_id,
47 guest_web_contents, 47 guest_web_contents,
48 embedder_extension_id) {} 48 embedder_extension_id) {}
49 virtual ~GuestView() {}
49 50
50 private: 51 private:
51 DISALLOW_COPY_AND_ASSIGN(GuestView); 52 DISALLOW_COPY_AND_ASSIGN(GuestView);
52 }; 53 };
53 54
54 #endif // CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_ 55 #endif // CHROME_BROWSER_GUEST_VIEW_GUEST_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/guest_view/ad_view/ad_view_guest.cc ('k') | chrome/browser/guest_view/guest_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698