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

Side by Side Diff: chrome/browser/ui/views/about_ipc_dialog.cc

Issue 15949029: Use a direct include of utf_string_conversions.h in chrome/browser/ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Need to include this before any other file because it defines 5 // Need to include this before any other file because it defines
6 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define 6 // IPC_MESSAGE_LOG_ENABLED. We need to use it to define
7 // IPC_MESSAGE_MACROS_LOG_ENABLED so that all_messages.h will generate the 7 // IPC_MESSAGE_MACROS_LOG_ENABLED so that all_messages.h will generate the
8 // ViewMsgLog et al. functions. 8 // ViewMsgLog et al. functions.
9 #include "ipc/ipc_message.h" 9 #include "ipc/ipc_message.h"
10 10
11 #ifdef IPC_MESSAGE_LOG_ENABLED 11 #ifdef IPC_MESSAGE_LOG_ENABLED
12 #include "content/public/common/content_ipc_logging.h" 12 #include "content/public/common/content_ipc_logging.h"
13 #define IPC_MESSAGE_MACROS_LOG_ENABLED 13 #define IPC_MESSAGE_MACROS_LOG_ENABLED
14 #define IPC_LOG_TABLE_ADD_ENTRY(msg_id, logger) \ 14 #define IPC_LOG_TABLE_ADD_ENTRY(msg_id, logger) \
15 content::RegisterIPCLogger(msg_id, logger) 15 content::RegisterIPCLogger(msg_id, logger)
16 16
17 // We need to do this real early to be sure IPC_MESSAGE_MACROS_LOG_ENABLED 17 // We need to do this real early to be sure IPC_MESSAGE_MACROS_LOG_ENABLED
18 // doesn't get undefined. 18 // doesn't get undefined.
19 #include "chrome/common/all_messages.h" 19 #include "chrome/common/all_messages.h"
20 20
21 #include "chrome/browser/ui/views/about_ipc_dialog.h" 21 #include "chrome/browser/ui/views/about_ipc_dialog.h"
22 22
23 #include <set> 23 #include <set>
24 24
25 #include "base/memory/singleton.h" 25 #include "base/memory/singleton.h"
26 #include "base/string_util.h" 26 #include "base/string_util.h"
27 #include "base/strings/utf_string_conversions.h"
27 #include "base/threading/thread.h" 28 #include "base/threading/thread.h"
28 #include "base/time.h" 29 #include "base/time.h"
29 #include "base/utf_string_conversions.h"
30 #include "chrome/app/chrome_command_ids.h" 30 #include "chrome/app/chrome_command_ids.h"
31 #include "chrome/app/chrome_dll_resource.h" 31 #include "chrome/app/chrome_dll_resource.h"
32 #include "chrome/browser/ui/browser_dialogs.h" 32 #include "chrome/browser/ui/browser_dialogs.h"
33 #include "chrome/common/chrome_constants.h" 33 #include "chrome/common/chrome_constants.h"
34 #include "content/public/browser/browser_ipc_logging.h" 34 #include "content/public/browser/browser_ipc_logging.h"
35 #include "net/url_request/url_request.h" 35 #include "net/url_request/url_request.h"
36 #include "net/url_request/url_request_job.h" 36 #include "net/url_request/url_request_job.h"
37 #include "ui/views/controls/button/label_button.h" 37 #include "ui/views/controls/button/label_button.h"
38 #include "ui/views/controls/native/native_view_host.h" 38 #include "ui/views/controls/native/native_view_host.h"
39 #include "ui/views/layout/grid_layout.h" 39 #include "ui/views/layout/grid_layout.h"
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 361
362 namespace chrome { 362 namespace chrome {
363 363
364 void ShowAboutIPCDialog() { 364 void ShowAboutIPCDialog() {
365 AboutIPCDialog::RunDialog(); 365 AboutIPCDialog::RunDialog();
366 } 366 }
367 367
368 } // namespace chrome 368 } // namespace chrome
369 369
370 #endif // IPC_MESSAGE_LOG_ENABLED 370 #endif // IPC_MESSAGE_LOG_ENABLED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698