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

Unified Diff: chrome/browser/chrome_benchmarking_message_filter.h

Issue 11801024: Fixed browser crash when using Debug build: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed failure on win perf bot. Created 7 years, 10 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 | chrome/browser/chrome_benchmarking_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_benchmarking_message_filter.h
diff --git a/chrome/browser/chrome_benchmarking_message_filter.h b/chrome/browser/chrome_benchmarking_message_filter.h
deleted file mode 100644
index ca1ae0fac643d061bfea814c3498eac9da77a4ca..0000000000000000000000000000000000000000
--- a/chrome/browser/chrome_benchmarking_message_filter.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROME_BENCHMARKING_MESSAGE_FILTER_H_
-#define CHROME_BROWSER_CHROME_BENCHMARKING_MESSAGE_FILTER_H_
-
-#include "content/public/browser/browser_message_filter.h"
-#include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h"
-
-namespace net {
-class URLRequestContextGetter;
-}
-
-class Profile;
-
-// This class filters out incoming Chrome-specific benchmarking IPC messages
-// for the renderer process on the IPC thread.
-class ChromeBenchmarkingMessageFilter : public content::BrowserMessageFilter {
- public:
- ChromeBenchmarkingMessageFilter(
- int render_process_id,
- Profile* profile,
- net::URLRequestContextGetter* request_context);
-
- // content::BrowserMessageFilter methods:
- virtual bool OnMessageReceived(const IPC::Message& message,
- bool* message_was_ok) OVERRIDE;
-
- private:
- virtual ~ChromeBenchmarkingMessageFilter();
-
- // Message handlers.
- void OnCloseCurrentConnections();
- void OnClearCache(IPC::Message* reply_msg);
- void OnClearHostResolverCache(int* result);
- void OnEnableSpdy(bool enable);
- void OnSetCacheMode(bool enabled);
- void OnClearPredictorCache(int* result);
-
- // Returns true if benchmarking is enabled for chrome.
- bool CheckBenchmarkingEnabled() const;
-
- int render_process_id_;
-
- // The Profile associated with our renderer process. This should only be
- // accessed on the UI thread!
- Profile* profile_;
- scoped_refptr<net::URLRequestContextGetter> request_context_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeBenchmarkingMessageFilter);
-};
-
-#endif // CHROME_BROWSER_CHROME_BENCHMARKING_MESSAGE_FILTER_H_
-
« no previous file with comments | « no previous file | chrome/browser/chrome_benchmarking_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698