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

Side by Side Diff: Source/WebCore/inspector/InspectorInstrumentation.h

Issue 13774005: Remove the ENABLE_SQL_DATABASE compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: python 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) 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 static void didRequestAnimationFrame(Document*, int callbackId); 244 static void didRequestAnimationFrame(Document*, int callbackId);
245 static void didCancelAnimationFrame(Document*, int callbackId); 245 static void didCancelAnimationFrame(Document*, int callbackId);
246 static InspectorInstrumentationCookie willFireAnimationFrame(Document*, int callbackId); 246 static InspectorInstrumentationCookie willFireAnimationFrame(Document*, int callbackId);
247 static void didFireAnimationFrame(const InspectorInstrumentationCookie&); 247 static void didFireAnimationFrame(const InspectorInstrumentationCookie&);
248 248
249 static void addStartProfilingMessageToConsole(Page*, const String& title, un signed lineNumber, const String& sourceURL); 249 static void addStartProfilingMessageToConsole(Page*, const String& title, un signed lineNumber, const String& sourceURL);
250 static void addProfile(Page*, RefPtr<ScriptProfile>, PassRefPtr<ScriptCallSt ack>); 250 static void addProfile(Page*, RefPtr<ScriptProfile>, PassRefPtr<ScriptCallSt ack>);
251 static String getCurrentUserInitiatedProfileName(Page*, bool incrementProfil eNumber); 251 static String getCurrentUserInitiatedProfileName(Page*, bool incrementProfil eNumber);
252 static bool profilerEnabled(Page*); 252 static bool profilerEnabled(Page*);
253 253
254 #if ENABLE(SQL_DATABASE)
255 static void didOpenDatabase(ScriptExecutionContext*, PassRefPtr<Database>, c onst String& domain, const String& name, const String& version); 254 static void didOpenDatabase(ScriptExecutionContext*, PassRefPtr<Database>, c onst String& domain, const String& name, const String& version);
256 #endif
257 255
258 static void didDispatchDOMStorageEvent(const String& key, const String& oldV alue, const String& newValue, StorageType, SecurityOrigin*, Page*); 256 static void didDispatchDOMStorageEvent(const String& key, const String& oldV alue, const String& newValue, StorageType, SecurityOrigin*, Page*);
259 257
260 #if ENABLE(WORKERS) 258 #if ENABLE(WORKERS)
261 static bool shouldPauseDedicatedWorkerOnStart(ScriptExecutionContext*); 259 static bool shouldPauseDedicatedWorkerOnStart(ScriptExecutionContext*);
262 static void didStartWorkerContext(ScriptExecutionContext*, WorkerContextProx y*, const KURL&); 260 static void didStartWorkerContext(ScriptExecutionContext*, WorkerContextProx y*, const KURL&);
263 static void workerContextTerminated(ScriptExecutionContext*, WorkerContextPr oxy*); 261 static void workerContextTerminated(ScriptExecutionContext*, WorkerContextPr oxy*);
264 static void willEvaluateWorkerScript(WorkerContext*, int workerThreadStartMo de); 262 static void willEvaluateWorkerScript(WorkerContext*, int workerThreadStartMo de);
265 #endif 263 #endif
266 264
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 static void didRequestAnimationFrameImpl(InstrumentingAgents*, int callbackI d, Frame*); 428 static void didRequestAnimationFrameImpl(InstrumentingAgents*, int callbackI d, Frame*);
431 static void didCancelAnimationFrameImpl(InstrumentingAgents*, int callbackId , Frame*); 429 static void didCancelAnimationFrameImpl(InstrumentingAgents*, int callbackId , Frame*);
432 static InspectorInstrumentationCookie willFireAnimationFrameImpl(Instrumenti ngAgents*, int callbackId, Frame*); 430 static InspectorInstrumentationCookie willFireAnimationFrameImpl(Instrumenti ngAgents*, int callbackId, Frame*);
433 static void didFireAnimationFrameImpl(const InspectorInstrumentationCookie&) ; 431 static void didFireAnimationFrameImpl(const InspectorInstrumentationCookie&) ;
434 432
435 static void addStartProfilingMessageToConsoleImpl(InstrumentingAgents*, cons t String& title, unsigned lineNumber, const String& sourceURL); 433 static void addStartProfilingMessageToConsoleImpl(InstrumentingAgents*, cons t String& title, unsigned lineNumber, const String& sourceURL);
436 static void addProfileImpl(InstrumentingAgents*, RefPtr<ScriptProfile>, Pass RefPtr<ScriptCallStack>); 434 static void addProfileImpl(InstrumentingAgents*, RefPtr<ScriptProfile>, Pass RefPtr<ScriptCallStack>);
437 static String getCurrentUserInitiatedProfileNameImpl(InstrumentingAgents*, b ool incrementProfileNumber); 435 static String getCurrentUserInitiatedProfileNameImpl(InstrumentingAgents*, b ool incrementProfileNumber);
438 static bool profilerEnabledImpl(InstrumentingAgents*); 436 static bool profilerEnabledImpl(InstrumentingAgents*);
439 437
440 #if ENABLE(SQL_DATABASE)
441 static void didOpenDatabaseImpl(InstrumentingAgents*, PassRefPtr<Database>, const String& domain, const String& name, const String& version); 438 static void didOpenDatabaseImpl(InstrumentingAgents*, PassRefPtr<Database>, const String& domain, const String& name, const String& version);
442 #endif
443 439
444 static void didDispatchDOMStorageEventImpl(InstrumentingAgents*, const Strin g& key, const String& oldValue, const String& newValue, StorageType, SecurityOri gin*, Page*); 440 static void didDispatchDOMStorageEventImpl(InstrumentingAgents*, const Strin g& key, const String& oldValue, const String& newValue, StorageType, SecurityOri gin*, Page*);
445 441
446 #if ENABLE(WORKERS) 442 #if ENABLE(WORKERS)
447 static bool shouldPauseDedicatedWorkerOnStartImpl(InstrumentingAgents*); 443 static bool shouldPauseDedicatedWorkerOnStartImpl(InstrumentingAgents*);
448 static void didStartWorkerContextImpl(InstrumentingAgents*, WorkerContextPro xy*, const KURL&); 444 static void didStartWorkerContextImpl(InstrumentingAgents*, WorkerContextPro xy*, const KURL&);
449 static void workerContextTerminatedImpl(InstrumentingAgents*, WorkerContextP roxy*); 445 static void workerContextTerminatedImpl(InstrumentingAgents*, WorkerContextP roxy*);
450 #endif 446 #endif
451 447
452 #if ENABLE(WEB_SOCKETS) 448 #if ENABLE(WEB_SOCKETS)
(...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 if (!page && document->templateDocumentHost()) 1399 if (!page && document->templateDocumentHost())
1404 page = document->templateDocumentHost()->page(); 1400 page = document->templateDocumentHost()->page();
1405 return instrumentingAgentsForPage(page); 1401 return instrumentingAgentsForPage(page);
1406 } 1402 }
1407 return 0; 1403 return 0;
1408 } 1404 }
1409 1405
1410 } // namespace WebCore 1406 } // namespace WebCore
1411 1407
1412 #endif // !defined(InspectorInstrumentation_h) 1408 #endif // !defined(InspectorInstrumentation_h)
OLDNEW
« no previous file with comments | « Source/WebCore/inspector/InspectorDatabaseResource.cpp ('k') | Source/WebCore/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698