By definition, the delivery of a controlled substance is also known as "intent to distribute."  This is a very serious offense and often more serious than a possession charge.  Depending on the amount of the substance in question a conviction here could be a first degree felony with a prison sentence of up to 30 years.  The key word here is "intention."  I would speak with a criminal defense attorney in your area as soon as you can.  "Ownership" does not seem to matter at all and actual delivery may not matter either, which is what I think that you are asking here.  Get help if you find yourself placed in this situation.