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

Unified Diff: mandoline/ui/browser/browser.h

Issue 1136363002: Remove unnecessary method from Browser object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | mandoline/ui/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/browser/browser.h
diff --git a/mandoline/ui/browser/browser.h b/mandoline/ui/browser/browser.h
index b07f36317505c22194d1737fe70ef3b520720b53..f158e29a300817b2631c42a9b83979109e3265f5 100644
--- a/mandoline/ui/browser/browser.h
+++ b/mandoline/ui/browser/browser.h
@@ -5,7 +5,6 @@
#ifndef MANDOLINE_UI_BROWSER_BROWSER_H_
#define MANDOLINE_UI_BROWSER_BROWSER_H_
-#include "base/memory/weak_ptr.h"
#include "components/view_manager/public/cpp/view_manager.h"
#include "components/view_manager/public/cpp/view_manager_delegate.h"
#include "components/window_manager/window_manager_app.h"
@@ -34,8 +33,6 @@ class Browser : public mojo::ApplicationDelegate,
Browser();
~Browser() override;
- base::WeakPtr<Browser> GetWeakPtr();
-
void ReplaceContentWithURL(const mojo::String& url);
mojo::View* content() { return content_; }
@@ -95,8 +92,6 @@ class Browser : public mojo::ApplicationDelegate,
scoped_ptr<BrowserUI> ui_;
- base::WeakPtrFactory<Browser> weak_factory_;
-
DISALLOW_COPY_AND_ASSIGN(Browser);
};
« no previous file with comments | « no previous file | mandoline/ui/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698