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

Unified Diff: chrome/browser/dom_ui/chrome_url_data_manager.h

Issue 3060024: Partially revert r53873 (and the valgrind suppression for it). (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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/dom_ui/chrome_url_data_manager.h
diff --git a/chrome/browser/dom_ui/chrome_url_data_manager.h b/chrome/browser/dom_ui/chrome_url_data_manager.h
index 0e48ce4316ef44761248d2c6e8c7629c0e55b5ec..389b5fd810a09a88f7d8465ad05623dce4d9e65e 100644
--- a/chrome/browser/dom_ui/chrome_url_data_manager.h
+++ b/chrome/browser/dom_ui/chrome_url_data_manager.h
@@ -11,7 +11,6 @@
#include "base/task.h"
#include "base/ref_counted.h"
-#include "chrome/browser/chrome_thread.h"
class DictionaryValue;
class FilePath;
@@ -44,9 +43,7 @@ class ChromeURLDataManager {
// An implementation of DataSource should handle calls to
// StartDataRequest() by starting its (implementation-specific) asynchronous
// request for the data, then call SendResponse() to notify
- class DataSource
- : public base::RefCountedThreadSafe<DataSource,
- ChromeThread::DeleteOnUIThread> {
+ class DataSource : public base::RefCountedThreadSafe<DataSource> {
public:
// See source_name_ and message_loop_ below for docs on these parameters.
DataSource(const std::string& source_name,
@@ -86,8 +83,6 @@ class ChromeURLDataManager {
protected:
friend class base::RefCountedThreadSafe<DataSource>;
- friend struct ChromeThread::DeleteOnThread<ChromeThread::UI>;
- friend class DeleteTask<DataSource>;
virtual ~DataSource();
« no previous file with comments | « no previous file | chrome/browser/dom_ui/dom_ui_favicon_source.cc » ('j') | tools/valgrind/memcheck/suppressions.txt » ('J')

Powered by Google App Engine
This is Rietveld 408576698