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

Side by Side Diff: Source/modules/indexeddb/IDBVersionChangeEvent.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 18 matching lines...) Expand all
29 #include "bindings/core/v8/Nullable.h" 29 #include "bindings/core/v8/Nullable.h"
30 #include "bindings/core/v8/SerializedScriptValue.h" 30 #include "bindings/core/v8/SerializedScriptValue.h"
31 #include "modules/EventModules.h" 31 #include "modules/EventModules.h"
32 #include "modules/indexeddb/IDBAny.h" 32 #include "modules/indexeddb/IDBAny.h"
33 #include "modules/indexeddb/IDBRequest.h" 33 #include "modules/indexeddb/IDBRequest.h"
34 #include "public/platform/WebIDBTypes.h" 34 #include "public/platform/WebIDBTypes.h"
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefPtr.h" 36 #include "wtf/RefPtr.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace WebCore { 39 namespace blink {
40 40
41 struct IDBVersionChangeEventInit : public EventInit { 41 struct IDBVersionChangeEventInit : public EventInit {
42 IDBVersionChangeEventInit(); 42 IDBVersionChangeEventInit();
43 43
44 unsigned long long oldVersion; 44 unsigned long long oldVersion;
45 Nullable<unsigned long long> newVersion; 45 Nullable<unsigned long long> newVersion;
46 }; 46 };
47 47
48 class IDBVersionChangeEvent FINAL : public Event { 48 class IDBVersionChangeEvent FINAL : public Event {
49 public: 49 public:
(...skipping 24 matching lines...) Expand all
74 IDBVersionChangeEvent(); 74 IDBVersionChangeEvent();
75 IDBVersionChangeEvent(const AtomicString& eventType, unsigned long long oldV ersion, const Nullable<unsigned long long>& newVersion, blink::WebIDBDataLoss, c onst String& dataLoss); 75 IDBVersionChangeEvent(const AtomicString& eventType, unsigned long long oldV ersion, const Nullable<unsigned long long>& newVersion, blink::WebIDBDataLoss, c onst String& dataLoss);
76 IDBVersionChangeEvent(const AtomicString& eventType, const IDBVersionChangeE ventInit&); 76 IDBVersionChangeEvent(const AtomicString& eventType, const IDBVersionChangeE ventInit&);
77 77
78 unsigned long long m_oldVersion; 78 unsigned long long m_oldVersion;
79 Nullable<unsigned long long> m_newVersion; 79 Nullable<unsigned long long> m_newVersion;
80 bool m_dataLoss; 80 bool m_dataLoss;
81 String m_dataLossMessage; 81 String m_dataLossMessage;
82 }; 82 };
83 83
84 } // namespace WebCore 84 } // namespace blink
85 85
86 #endif // IDBVersionChangeEvent_h 86 #endif // IDBVersionChangeEvent_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBTransactionTest.cpp ('k') | Source/modules/indexeddb/IDBVersionChangeEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698