Refactor the ATL module code to accomodate the coming RDP changes.
Changes in this CL:
- The list of COM classes served by the process explicitly specified. This way a different set of classes can be served depending on the entry point used.
- Renamed the type library to ChromotingLib as it will contain other classes as well.
- The ATL module class runs Chromium message loop allowing tasks to be posted to it.
- The main mesage loop is wrapped into AutoThreadTaskRunner as an aid to implementing asynchronous shutdown code.
- The COM process exits as soon as the last COM object it serves released.
BUG=137696
Review URL: https://chromiumcodereview.appspot.com/12326164
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185453 0039d316-1c4b-4281-b951-d872f2087c98
10 files changed