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

Unified Diff: content/browser/load_notification_details.h

Issue 6966037: Move LoadNotificationDetails to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DEPS too Created 9 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/load_notification_details.h
diff --git a/chrome/browser/load_notification_details.h b/content/browser/load_notification_details.h
similarity index 70%
rename from chrome/browser/load_notification_details.h
rename to content/browser/load_notification_details.h
index 6e96c6e36b3aff0615a38ee063640044b505cfc5..d3b7ab4c6c99dc58bb676784bbcb88f22b7d2335 100644
--- a/chrome/browser/load_notification_details.h
+++ b/content/browser/load_notification_details.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,8 +6,8 @@
// page load that has been completed. It was created to let the MetricsService
// log page load metrics.
-#ifndef CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__
-#define CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__
+#ifndef CONTENT_BROWSER_LOAD_NOTIFICATION_DETAILS_H_
+#define CONTENT_BROWSER_LOAD_NOTIFICATION_DETAILS_H_
#pragma once
#include "base/basictypes.h"
@@ -38,15 +38,24 @@ class LoadNotificationDetails {
NavigationController* controller() const { return controller_; }
private:
- GURL url_; // the URL loaded
- base::TimeDelta load_time_; // length of time the page load took
- int session_index_; // index of the load within the tab session
- PageTransition::Type origin_; // type of action that caused the load
- NavigationController* controller_; // tells us which tab the load was in
+ // The URL loaded.
+ GURL url_;
+
+ // The length of time the page load took.
+ base::TimeDelta load_time_;
+
+ // The index of the load within the tab session.
+ int session_index_;
+
+ // The type of action that caused the load.
+ PageTransition::Type origin_;
+
+ // The NavigationController for the load.
+ NavigationController* controller_;
LoadNotificationDetails() {}
DISALLOW_COPY_AND_ASSIGN(LoadNotificationDetails);
};
-#endif // CHROME_BROWSER_LOAD_NOTIFICATION_DETAILS_H__
+#endif // CONTENT_BROWSER_LOAD_NOTIFICATION_DETAILS_H_
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698