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

Unified Diff: chrome/browser/ui/views/about_ipc_dialog.cc

Issue 8574070: Move enabling IPC logging for all child processes to the Content API. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 years, 1 month 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/views/about_ipc_dialog.cc
===================================================================
--- chrome/browser/ui/views/about_ipc_dialog.cc (revision 110645)
+++ chrome/browser/ui/views/about_ipc_dialog.cc (working copy)
@@ -25,9 +25,9 @@
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/app/chrome_dll_resource.h"
-#include "chrome/browser/browser_process.h"
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/common/chrome_constants.h"
+#include "content/public/browser/content_ipc_logging.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_job.h"
#include "views/controls/button/text_button.h"
@@ -352,11 +352,11 @@
if (tracking_) {
track_toggle_->SetText(kStartTrackingLabel);
tracking_ = false;
- g_browser_process->SetIPCLoggingEnabled(false);
+ content::EnableIPCLogging(false);
} else {
track_toggle_->SetText(kStopTrackingLabel);
tracking_ = true;
- g_browser_process->SetIPCLoggingEnabled(true);
+ content::EnableIPCLogging(true);
}
track_toggle_->SchedulePaint();
} else if (button == clear_button_) {
« no previous file with comments | « chrome/browser/ui/cocoa/about_ipc_controller_unittest.mm ('k') | chrome/test/base/testing_browser_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698