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

Side by Side Diff: Source/WebKit/chromium/tests/IDBRequestTest.cpp

Issue 14323004: Make Frame's ScriptController an OwnPtr and remove the #include (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 16 matching lines...) Expand all
27 27
28 #include "IDBRequest.h" 28 #include "IDBRequest.h"
29 29
30 #include "DOMStringList.h" 30 #include "DOMStringList.h"
31 #include "Document.h" 31 #include "Document.h"
32 #include "Frame.h" 32 #include "Frame.h"
33 #include "FrameTestHelpers.h" 33 #include "FrameTestHelpers.h"
34 #include "IDBCursorBackendInterface.h" 34 #include "IDBCursorBackendInterface.h"
35 #include "IDBDatabaseBackendImpl.h" 35 #include "IDBDatabaseBackendImpl.h"
36 #include "IDBTransactionCoordinator.h" 36 #include "IDBTransactionCoordinator.h"
37 #include "ScriptController.h"
37 #include "WebFrame.h" 38 #include "WebFrame.h"
38 #include "WebFrameImpl.h" 39 #include "WebFrameImpl.h"
39 #include "WebView.h" 40 #include "WebView.h"
40 41
41 #include <gtest/gtest.h> 42 #include <gtest/gtest.h>
42 43
43 using namespace WebCore; 44 using namespace WebCore;
44 using namespace WebKit; 45 using namespace WebKit;
45 46
46 namespace { 47 namespace {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 111
111 // Simulate the IDBTransaction having received onAbort from back end and abo rting the request: 112 // Simulate the IDBTransaction having received onAbort from back end and abo rting the request:
112 request->abort(); 113 request->abort();
113 114
114 // Now simulate the back end having fired an abort error at the request to c lear up any intermediaries. 115 // Now simulate the back end having fired an abort error at the request to c lear up any intermediaries.
115 // Ensure an assertion is not raised. 116 // Ensure an assertion is not raised.
116 request->onError(IDBDatabaseError::create(IDBDatabaseException::AbortError, "Description goes here.")); 117 request->onError(IDBDatabaseError::create(IDBDatabaseException::AbortError, "Description goes here."));
117 } 118 }
118 119
119 } // namespace 120 } // namespace
OLDNEW
« no previous file with comments | « Source/WebKit/chromium/tests/IDBBindingUtilitiesTest.cpp ('k') | Source/bindings/scripts/CodeGeneratorV8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698