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

Side by Side Diff: third_party/WebKit/Source/core/fetch/SubstituteData.h

Issue 1406923009: Rename DISALLOW_ALLOCATION and ALLOW_ONLY_INLINE_ALLOCATION (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 /* 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 22 matching lines...) Expand all
33 #include "wtf/RefPtr.h" 33 #include "wtf/RefPtr.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 enum SubstituteDataLoadPolicy { 37 enum SubstituteDataLoadPolicy {
38 LoadNormally, 38 LoadNormally,
39 ForceSynchronousLoad 39 ForceSynchronousLoad
40 }; 40 };
41 41
42 class SubstituteData { 42 class SubstituteData {
43 DISALLOW_ALLOCATION(); 43 DISALLOW_NEW();
44 public: 44 public:
45 SubstituteData() 45 SubstituteData()
46 : m_substituteDataLoadPolicy(LoadNormally) 46 : m_substituteDataLoadPolicy(LoadNormally)
47 { 47 {
48 } 48 }
49 49
50 SubstituteData(PassRefPtr<SharedBuffer> content, const AtomicString& mimeTyp e, const AtomicString& textEncoding, const KURL& failingURL, SubstituteDataLoadP olicy substituteDataLoadPolicy = LoadNormally) 50 SubstituteData(PassRefPtr<SharedBuffer> content, const AtomicString& mimeTyp e, const AtomicString& textEncoding, const KURL& failingURL, SubstituteDataLoadP olicy substituteDataLoadPolicy = LoadNormally)
51 : m_content(content) 51 : m_content(content)
52 , m_mimeType(mimeType) 52 , m_mimeType(mimeType)
53 , m_textEncoding(textEncoding) 53 , m_textEncoding(textEncoding)
(...skipping 15 matching lines...) Expand all
69 AtomicString m_mimeType; 69 AtomicString m_mimeType;
70 AtomicString m_textEncoding; 70 AtomicString m_textEncoding;
71 KURL m_failingURL; 71 KURL m_failingURL;
72 SubstituteDataLoadPolicy m_substituteDataLoadPolicy; 72 SubstituteDataLoadPolicy m_substituteDataLoadPolicy;
73 }; 73 };
74 74
75 } 75 }
76 76
77 #endif // SubstituteData_h 77 #endif // SubstituteData_h
78 78
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourcePtr.h ('k') | third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698