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

Unified Diff: chrome/browser/ui/webui/about_ui.cc

Issue 10386206: RefCounted types should not have public destructors, chromeos edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r143931 Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/about_ui.cc
diff --git a/chrome/browser/ui/webui/about_ui.cc b/chrome/browser/ui/webui/about_ui.cc
index b1a3e385cda0655f429fe7576944c4bf610f885a..856aca4958892b24c7e72be25441ad55b58e9e60 100644
--- a/chrome/browser/ui/webui/about_ui.cc
+++ b/chrome/browser/ui/webui/about_ui.cc
@@ -193,6 +193,8 @@ class ChromeOSTermsHandler
}
private:
+ friend class base::RefCountedThreadSafe<ChromeOSTermsHandler>;
+
ChromeOSTermsHandler(AboutUIHTMLSource* source,
const std::string& path,
int request_id)
@@ -202,6 +204,8 @@ class ChromeOSTermsHandler
locale_(chromeos::WizardController::GetInitialLocale()) {
}
+ ~ChromeOSTermsHandler() {}
+
void StartOnUIThread() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
BrowserThread::PostTask(
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_dialog.h ('k') | chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698