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

Side by Side Diff: chrome/browser/load_notification_details.h

Issue 6672070: Move the remaining files in chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/metrics/metrics_log.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // The LoadNotificationDetails object contains additional details about a 5 // The LoadNotificationDetails object contains additional details about a
6 // page load that has been completed. It was created to let the MetricsService 6 // page load that has been completed. It was created to let the MetricsService
7 // log page load metrics. 7 // log page load metrics.
8 8
9 #ifndef CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__ 9 #ifndef CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__
10 #define CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__ 10 #define CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__
11 #pragma once 11 #pragma once
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "chrome/common/page_transition_types.h"
16 #include "content/browser/tab_contents/navigation_controller.h" 15 #include "content/browser/tab_contents/navigation_controller.h"
16 #include "content/common/page_transition_types.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 18
19 class LoadNotificationDetails { 19 class LoadNotificationDetails {
20 public: 20 public:
21 LoadNotificationDetails(const GURL& url, 21 LoadNotificationDetails(const GURL& url,
22 PageTransition::Type origin, 22 PageTransition::Type origin,
23 base::TimeDelta load_time, 23 base::TimeDelta load_time,
24 NavigationController* controller, 24 NavigationController* controller,
25 int session_index) 25 int session_index)
26 : url_(url), 26 : url_(url),
(...skipping 16 matching lines...) Expand all
43 int session_index_; // index of the load within the tab session 43 int session_index_; // index of the load within the tab session
44 PageTransition::Type origin_; // type of action that caused the load 44 PageTransition::Type origin_; // type of action that caused the load
45 NavigationController* controller_; // tells us which tab the load was in 45 NavigationController* controller_; // tells us which tab the load was in
46 46
47 LoadNotificationDetails() {} 47 LoadNotificationDetails() {}
48 48
49 DISALLOW_COPY_AND_ASSIGN(LoadNotificationDetails); 49 DISALLOW_COPY_AND_ASSIGN(LoadNotificationDetails);
50 }; 50 };
51 51
52 #endif // CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__ 52 #endif // CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_loader.cc ('k') | chrome/browser/metrics/metrics_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698