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

Side by Side Diff: Source/core/loader/SubstituteData.h

Issue 13973026: remove memoryinstrumentation Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove the rest part of MemoryInstrumentation Created 7 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/loader/ResourceLoader.cpp ('k') | Source/core/loader/SubstituteData.cpp » ('j') | 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 { 46 {
47 } 47 }
48 48
49 bool isValid() const { return m_content != 0; } 49 bool isValid() const { return m_content != 0; }
50 50
51 const SharedBuffer* content() const { return m_content.get(); } 51 const SharedBuffer* content() const { return m_content.get(); }
52 const String& mimeType() const { return m_mimeType; } 52 const String& mimeType() const { return m_mimeType; }
53 const String& textEncoding() const { return m_textEncoding; } 53 const String& textEncoding() const { return m_textEncoding; }
54 const KURL& failingURL() const { return m_failingURL; } 54 const KURL& failingURL() const { return m_failingURL; }
55 const KURL& responseURL() const { return m_responseURL; } 55 const KURL& responseURL() const { return m_responseURL; }
56
57 void reportMemoryUsage(MemoryObjectInfo*) const;
58 56
59 private: 57 private:
60 RefPtr<SharedBuffer> m_content; 58 RefPtr<SharedBuffer> m_content;
61 String m_mimeType; 59 String m_mimeType;
62 String m_textEncoding; 60 String m_textEncoding;
63 KURL m_failingURL; 61 KURL m_failingURL;
64 KURL m_responseURL; 62 KURL m_responseURL;
65 }; 63 };
66 64
67 } 65 }
68 66
69 #endif // SubstituteData_h 67 #endif // SubstituteData_h
70 68
OLDNEW
« no previous file with comments | « Source/core/loader/ResourceLoader.cpp ('k') | Source/core/loader/SubstituteData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698