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

Side by Side Diff: extensions/browser/extension_host.h

Issue 902963002: Replace the ExtensionHost load UMAs (Extensions.BackgroundPageLoadTime and friends) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 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 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 #ifndef EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_HOST_H_
6 #define EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 6 #define EXTENSIONS_BROWSER_EXTENSION_HOST_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // Messages sent out to the renderer that have not been acknowledged yet. 190 // Messages sent out to the renderer that have not been acknowledged yet.
191 std::set<int> unacked_messages_; 191 std::set<int> unacked_messages_;
192 192
193 content::NotificationRegistrar registrar_; 193 content::NotificationRegistrar registrar_;
194 194
195 ExtensionFunctionDispatcher extension_function_dispatcher_; 195 ExtensionFunctionDispatcher extension_function_dispatcher_;
196 196
197 // The type of view being hosted. 197 // The type of view being hosted.
198 ViewType extension_host_type_; 198 ViewType extension_host_type_;
199 199
200 // Used to measure how long it's been since the host was created. 200 // Used to measure how long it takes to load the initial URL.
201 base::ElapsedTimer since_created_; 201 scoped_ptr<base::ElapsedTimer> since_created_;
202 202
203 ObserverList<ExtensionHostObserver> observer_list_; 203 ObserverList<ExtensionHostObserver> observer_list_;
204 204
205 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 205 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
206 }; 206 };
207 207
208 } // namespace extensions 208 } // namespace extensions
209 209
210 #endif // EXTENSIONS_BROWSER_EXTENSION_HOST_H_ 210 #endif // EXTENSIONS_BROWSER_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | extensions/browser/extension_host.cc » ('j') | extensions/browser/extension_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698