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

Unified Diff: blimp/client/core/contents/blimp_contents_impl.h

Issue 2201433002: Migrate TabControlFeature from 0.5 to 0.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove BlmipContentImpl default constructor, Move BlimpContentsDeletionObserver declaration to blim… Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: blimp/client/core/contents/blimp_contents_impl.h
diff --git a/blimp/client/core/contents/blimp_contents_impl.h b/blimp/client/core/contents/blimp_contents_impl.h
index 1d91ba0d1c61321bce2f56656579a88620b9375f..ba9e1f25414bda611058e40f77c7b3fe26ab1651 100644
--- a/blimp/client/core/contents/blimp_contents_impl.h
+++ b/blimp/client/core/contents/blimp_contents_impl.h
@@ -31,7 +31,7 @@ class BlimpNavigationController;
class BlimpContentsImpl : public BlimpContents,
public BlimpNavigationControllerDelegate {
public:
- BlimpContentsImpl();
+ explicit BlimpContentsImpl(int id);
~BlimpContentsImpl() override;
#if defined(OS_ANDROID)
@@ -47,6 +47,8 @@ class BlimpContentsImpl : public BlimpContents,
// BlimpNavigationControllerDelegate implementation.
void NotifyURLLoaded(const GURL& url) override;
+ int id() { return id_; }
+
private:
// Handles the back/forward list and loading URLs.
BlimpNavigationControllerImpl navigation_controller_;
@@ -54,7 +56,9 @@ class BlimpContentsImpl : public BlimpContents,
// A list of all the observers of this BlimpContentsImpl.
base::ObserverList<BlimpContentsObserver> observers_;
- DISALLOW_COPY_AND_ASSIGN(BlimpContentsImpl);
+ int id_;
+
+ DISALLOW_IMPLICIT_CONSTRUCTORS(BlimpContentsImpl);
};
} // namespace client

Powered by Google App Engine
This is Rietveld 408576698