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

Side by Side Diff: chrome/browser/devtools/devtools_ui_bindings.cc

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased Created 3 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/devtools/devtools_ui_bindings.h" 5 #include "chrome/browser/devtools/devtools_ui_bindings.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "content/public/browser/devtools_external_agent_proxy.h" 49 #include "content/public/browser/devtools_external_agent_proxy.h"
50 #include "content/public/browser/devtools_external_agent_proxy_delegate.h" 50 #include "content/public/browser/devtools_external_agent_proxy_delegate.h"
51 #include "content/public/browser/navigation_controller.h" 51 #include "content/public/browser/navigation_controller.h"
52 #include "content/public/browser/navigation_entry.h" 52 #include "content/public/browser/navigation_entry.h"
53 #include "content/public/browser/navigation_handle.h" 53 #include "content/public/browser/navigation_handle.h"
54 #include "content/public/browser/notification_source.h" 54 #include "content/public/browser/notification_source.h"
55 #include "content/public/browser/reload_type.h" 55 #include "content/public/browser/reload_type.h"
56 #include "content/public/browser/render_frame_host.h" 56 #include "content/public/browser/render_frame_host.h"
57 #include "content/public/browser/render_process_host.h" 57 #include "content/public/browser/render_process_host.h"
58 #include "content/public/browser/render_view_host.h" 58 #include "content/public/browser/render_view_host.h"
59 #include "content/public/browser/user_metrics.h"
60 #include "content/public/browser/web_contents.h" 59 #include "content/public/browser/web_contents.h"
61 #include "content/public/browser/web_contents_observer.h" 60 #include "content/public/browser/web_contents_observer.h"
62 #include "content/public/common/renderer_preferences.h" 61 #include "content/public/common/renderer_preferences.h"
63 #include "content/public/common/url_constants.h" 62 #include "content/public/common/url_constants.h"
64 #include "extensions/browser/extension_registry.h" 63 #include "extensions/browser/extension_registry.h"
65 #include "extensions/common/constants.h" 64 #include "extensions/common/constants.h"
66 #include "extensions/common/permissions/permissions_data.h" 65 #include "extensions/common/permissions/permissions_data.h"
67 #include "ipc/ipc_channel.h" 66 #include "ipc/ipc_channel.h"
68 #include "net/base/escape.h" 67 #include "net/base/escape.h"
69 #include "net/base/io_buffer.h" 68 #include "net/base/io_buffer.h"
(...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 void DevToolsUIBindings::FrontendLoaded() { 1369 void DevToolsUIBindings::FrontendLoaded() {
1371 if (frontend_loaded_) 1370 if (frontend_loaded_)
1372 return; 1371 return;
1373 frontend_loaded_ = true; 1372 frontend_loaded_ = true;
1374 1373
1375 // Call delegate first - it seeds importants bit of information. 1374 // Call delegate first - it seeds importants bit of information.
1376 delegate_->OnLoadCompleted(); 1375 delegate_->OnLoadCompleted();
1377 1376
1378 AddDevToolsExtensionsToClient(); 1377 AddDevToolsExtensionsToClient();
1379 } 1378 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/devtools_device_discovery.cc ('k') | chrome/browser/devtools/devtools_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698