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

Side by Side Diff: Source/bindings/core/v8/Dictionary.h

Issue 384633002: Oilpan: add transition types to remaining Fetch and ServiceWorker objects (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 bool get(const String&, Member<SpeechRecognitionResultList>&) const; 102 bool get(const String&, Member<SpeechRecognitionResultList>&) const;
103 bool get(const String&, Member<Gamepad>&) const; 103 bool get(const String&, Member<Gamepad>&) const;
104 bool get(const String&, Member<MediaStream>&) const; 104 bool get(const String&, Member<MediaStream>&) const;
105 bool get(const String&, RefPtrWillBeMember<EventTarget>&) const; 105 bool get(const String&, RefPtrWillBeMember<EventTarget>&) const;
106 bool get(const String&, HashSet<AtomicString>&) const; 106 bool get(const String&, HashSet<AtomicString>&) const;
107 bool get(const String&, Dictionary&) const; 107 bool get(const String&, Dictionary&) const;
108 bool get(const String&, Vector<String>&) const; 108 bool get(const String&, Vector<String>&) const;
109 bool get(const String&, ArrayValue&) const; 109 bool get(const String&, ArrayValue&) const;
110 bool get(const String&, RefPtrWillBeMember<DOMError>&) const; 110 bool get(const String&, RefPtrWillBeMember<DOMError>&) const;
111 bool get(const String&, v8::Local<v8::Value>&) const; 111 bool get(const String&, v8::Local<v8::Value>&) const;
112 bool get(const String&, RefPtr<Headers>&) const; 112 bool get(const String&, RefPtrWillBeMember<Headers>&) const;
113 113
114 // Sets properties using default attributes. 114 // Sets properties using default attributes.
115 bool set(const String&, const v8::Handle<v8::Value>&); 115 bool set(const String&, const v8::Handle<v8::Value>&);
116 bool set(const String&, const String&); 116 bool set(const String&, const String&);
117 bool set(const String&, unsigned); 117 bool set(const String&, unsigned);
118 bool set(const String&, const Dictionary&); 118 bool set(const String&, const Dictionary&);
119 119
120 v8::Handle<v8::Value> v8Value() const { return m_options; } 120 v8::Handle<v8::Value> v8Value() const { return m_options; }
121 121
122 class ConversionContext { 122 class ConversionContext {
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value)) 357 if (context.isNullable() && WebCore::isUndefinedOrNull(v8Value))
358 return true; 358 return true;
359 359
360 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n ot have a " + context.typeName() + " type.")); 360 context.throwTypeError(ExceptionMessages::incorrectPropertyType(key, "does n ot have a " + context.typeName() + " type."));
361 return false; 361 return false;
362 } 362 }
363 363
364 } 364 }
365 365
366 #endif // Dictionary_h 366 #endif // Dictionary_h
OLDNEW
« no previous file with comments | « no previous file | Source/bindings/core/v8/Dictionary.cpp » ('j') | Source/modules/serviceworkers/FetchEvent.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698