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

Unified Diff: chrome/browser/chromeos/mobile/mobile_activator.h

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/chromeos/mobile/mobile_activator.h
diff --git a/chrome/browser/chromeos/mobile/mobile_activator.h b/chrome/browser/chromeos/mobile/mobile_activator.h
index cd5bc50a906a95e6a104be3842dd20e793624258..3b7e8810ea756dd5943788bf5c642eb5076323b6 100644
--- a/chrome/browser/chromeos/mobile/mobile_activator.h
+++ b/chrome/browser/chromeos/mobile/mobile_activator.h
@@ -22,7 +22,6 @@ class CellularConfigDocument
: public base::RefCountedThreadSafe<CellularConfigDocument> {
public:
CellularConfigDocument();
- virtual ~CellularConfigDocument();
// Return error message for a given code.
std::string GetErrorMessage(const std::string& code);
@@ -30,8 +29,11 @@ class CellularConfigDocument
const std::string& version() { return version_; }
private:
+ friend class base::RefCountedThreadSafe<CellularConfigDocument>;
typedef std::map<std::string, std::string> ErrorMap;
+ virtual ~CellularConfigDocument();
+
void SetErrorMap(const ErrorMap& map);
bool LoadFromFile(const FilePath& config_path);
« no previous file with comments | « chrome/browser/chromeos/media/media_player_extension_api.h ('k') | chrome/browser/chromeos/mobile/mobile_activator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698