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

Side by Side Diff: chrome/browser/ipc_status_view.cc

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ipc_status_view.h" 5 #include "chrome/browser/ipc_status_view.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "chrome/app/chrome_dll_resource.h" 11 #include "chrome/app/chrome_dll_resource.h"
12 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
13 #include "chrome/common/ipc_logging.h" 13 #include "chrome/common/ipc_logging.h"
14 #include "chrome/common/plugin_messages.h" 14 #include "chrome/common/plugin_messages.h"
15 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
16 #include "chrome/common/pref_service.h" 16 #include "chrome/common/pref_service.h"
17 #include "chrome/common/render_messages.h" 17 #include "chrome/common/render_messages.h"
18 18
19 #ifdef IPC_MESSAGE_LOG_ENABLED 19 #ifdef IPC_MESSAGE_LOG_ENABLED
20 20
21 using base::Time;
22
21 namespace { 23 namespace {
22 const wchar_t kTitleMsg[] = L"IPC Messages"; 24 const wchar_t kTitleMsg[] = L"IPC Messages";
23 25
24 const wchar_t kStartLoggingMsg[] = L"Start IPC Logging"; 26 const wchar_t kStartLoggingMsg[] = L"Start IPC Logging";
25 const wchar_t kStopLoggingMsg[] = L"Stop IPC Logging"; 27 const wchar_t kStopLoggingMsg[] = L"Stop IPC Logging";
26 const wchar_t kClearMsg[] = L"Clear"; 28 const wchar_t kClearMsg[] = L"Clear";
27 const wchar_t kSettingsMsg[] = L"Filter"; 29 const wchar_t kSettingsMsg[] = L"Filter";
28 30
29 enum { 31 enum {
30 kTimeColumn = 0, 32 kTimeColumn = 0,
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 HINSTANCE module_handle = GetModuleHandle(chrome::kBrowserResourcesDll); 361 HINSTANCE module_handle = GetModuleHandle(chrome::kBrowserResourcesDll);
360 362
361 settings_dialog_ = CreateDialog(module_handle, 363 settings_dialog_ = CreateDialog(module_handle,
362 MAKEINTRESOURCE(IDD_IPC_SETTINGS), 364 MAKEINTRESOURCE(IDD_IPC_SETTINGS),
363 NULL, 365 NULL,
364 IPCStatusView::DialogProc); 366 IPCStatusView::DialogProc);
365 ::ShowWindow(settings_dialog_, SW_SHOW); 367 ::ShowWindow(settings_dialog_, SW_SHOW);
366 } 368 }
367 369
368 #endif // IPC_MESSAGE_LOG_ENABLED 370 #endif // IPC_MESSAGE_LOG_ENABLED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698