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

Unified Diff: chrome/browser/policy/file_based_policy_loader.cc

Issue 10068036: RefCounted types should not have public destructors, chrome/browser/ part 5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix Created 8 years, 8 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 | « chrome/browser/policy/device_management_service.cc ('k') | chrome/browser/prefs/command_line_pref_store.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/file_based_policy_loader.cc
diff --git a/chrome/browser/policy/file_based_policy_loader.cc b/chrome/browser/policy/file_based_policy_loader.cc
index 6ceea3e003959e7cef0c678271c3d3430c12a52e..763cb99a2e099b7783ca54fbca60f438f9dd61d8 100644
--- a/chrome/browser/policy/file_based_policy_loader.cc
+++ b/chrome/browser/policy/file_based_policy_loader.cc
@@ -42,7 +42,6 @@ class FileBasedPolicyWatcherDelegate : public FilePathWatcher::Delegate {
explicit FileBasedPolicyWatcherDelegate(
scoped_refptr<FileBasedPolicyLoader> loader)
: loader_(loader) {}
- virtual ~FileBasedPolicyWatcherDelegate() {}
// FilePathWatcher::Delegate implementation:
virtual void OnFilePathChanged(const FilePath& path) OVERRIDE {
@@ -54,6 +53,8 @@ class FileBasedPolicyWatcherDelegate : public FilePathWatcher::Delegate {
}
private:
+ virtual ~FileBasedPolicyWatcherDelegate() {}
+
scoped_refptr<FileBasedPolicyLoader> loader_;
DISALLOW_COPY_AND_ASSIGN(FileBasedPolicyWatcherDelegate);
};
« no previous file with comments | « chrome/browser/policy/device_management_service.cc ('k') | chrome/browser/prefs/command_line_pref_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698