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

Side by Side Diff: third_party/WebKit/WebCore/inspector/InspectorController.cpp

Issue 45064: Change InspectorResource definition from struct to class (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « third_party/WebKit/WebCore/inspector/InspectorController.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Google Inc. All rights reserved. 2 * Copyright (C) 2007 Google Inc. All rights reserved.
3 * Authors: Collin Jackson, Adam Barth 3 * Authors: Collin Jackson, Adam Barth
4 * 4 *
5 * This is the V8 version of the KJS InspectorController, which is located in 5 * This is the V8 version of the KJS InspectorController, which is located in
6 * webkit/pending. 6 * webkit/pending.
7 * Copyright (C) 2007 Apple Inc. All rights reserved. 7 * Copyright (C) 2007 Apple Inc. All rights reserved.
8 * 8 *
9 * Redistribution and use in source and binary forms, with or without 9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions 10 * modification, are permitted provided that the following conditions
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 sourceString = str; 172 sourceString = str;
173 } 173 }
174 174
175 ~XMLHttpRequestResource() { } 175 ~XMLHttpRequestResource() { }
176 176
177 String sourceString; 177 String sourceString;
178 }; 178 };
179 179
180 // InspectorResource Struct 180 // InspectorResource Struct
181 181
182 struct InspectorResource : public RefCounted<InspectorResource> { 182 class InspectorResource : public RefCounted<InspectorResource> {
183 public:
183 // Keep these in sync with WebInspector.Resource.Type 184 // Keep these in sync with WebInspector.Resource.Type
184 enum Type { 185 enum Type {
185 Doc, 186 Doc,
186 Stylesheet, 187 Stylesheet,
187 Image, 188 Image,
188 Font, 189 Font,
189 Script, 190 Script,
190 XHR, 191 XHR,
191 Media, 192 Media,
192 Other 193 Other
(...skipping 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after
2062 } 2063 }
2063 2064
2064 bool InspectorController::stopTiming(const String& title, double& elapsed) 2065 bool InspectorController::stopTiming(const String& title, double& elapsed)
2065 { 2066 {
2066 elapsed = 0; 2067 elapsed = 0;
2067 notImplemented(); 2068 notImplemented();
2068 return false; 2069 return false;
2069 } 2070 }
2070 2071
2071 } // namespace WebCore 2072 } // namespace WebCore
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/inspector/InspectorController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698