summaryrefslogtreecommitdiffstats
path: root/chrome/service
Commit message (Collapse)AuthorAgeFilesLines
* GCC 4.6 -Wunused-but-set-variable cleanup.pph34r@gmail.com2011-07-011-1/+2
| | | | | | | | | | BUG=87490 TEST=None Review URL: http://codereview.chromium.org/7263013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91273 0039d316-1c4b-4281-b951-d872f2087c98
* Change the WebResourceService to use SystemURLRequestContext, and fix leak ↵mirandac@chromium.org2011-06-282-1/+4
| | | | | | | | | | that this change exposes, by ensuring that the SystemURLRequestContextGetter is deleted immediately once it is no longer needed. BUG=86168 TEST=browser_tests complete on all bots with no leak_tracker firings. Review URL: http://codereview.chromium.org/7044118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90799 0039d316-1c4b-4281-b951-d872f2087c98
* Add checks on DictionaryValue.Getxxxgbillock@chromium.org2011-06-273-13/+10
| | | | | | | | | | | | Coverity CID=13545,13546,12901,12826,13536,12445 BUG= TEST= Review URL: http://codereview.chromium.org/7222020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90674 0039d316-1c4b-4281-b951-d872f2087c98
* Flag for switching GAIA backendgfeher@chromium.org2011-06-153-3/+3
| | | | | | | | | | | | This makes it possible to run Chrome with test gaia backends. BUG=82120 TEST=sync, cloud policies and cloud print keeps working as before Review URL: http://codereview.chromium.org/7134045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89228 0039d316-1c4b-4281-b951-d872f2087c98
* Move UtilityProcessHost to content and move the message sending/dispatching ↵jam@chromium.org2011-06-091-1/+1
| | | | | | | | | to the clients. This allows the content layer to use the class. BUG=76697 Review URL: http://codereview.chromium.org/6995095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88586 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to have chrome building with net.dllrvargas@google.com2011-06-031-0/+2
| | | | | | | | BUG=76997 TEST=none Review URL: http://codereview.chromium.org/7056049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87873 0039d316-1c4b-4281-b951-d872f2087c98
* Move UrlFetcher to content. I originally thought that it's only used by ↵jam@chromium.org2011-06-014-4/+4
| | | | | | | | | chrome code, but turns out there are legitimate content uses for HTML5 features like speech/geolocation which need to go to the web. BUG=76697 Review URL: http://codereview.chromium.org/7006005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87406 0039d316-1c4b-4281-b951-d872f2087c98
* Move sandbox_policy to content.jam@chromium.org2011-05-282-2/+2
| | | | | | | BUG=76697 Review URL: http://codereview.chromium.org/7084010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87183 0039d316-1c4b-4281-b951-d872f2087c98
* Anti-DDoS enhancements: Log to net log, UMA stats, improved policy.joi@chromium.org2011-05-272-8/+7
| | | | | | | | | | | | | | | | | | | | | | Count only certain error codes as failures. Don't count malformed body for codes already counted failures. Start with fresh entry when outdated, which makes policy slightly less aggressive. Add registration/unregistration to NetworkChangeNotifier, and reset throttling state on network changes, to avoid degenerate corner cases. Add UMA stats for throttling, and unit tests for them. Add hash-location-only URL to unit test. Enable testing of AJAX behavior via backoff_server. BUG=83775 TEST=net_unittests Review URL: http://codereview.chromium.org/6966038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87056 0039d316-1c4b-4281-b951-d872f2087c98
* Virtual destructors should have virtual keyword.hans@chromium.org2011-05-253-3/+3
| | | | | | | | | | | | | | | | | Make sure user-declared virtual destructors always have the virtual keyword. The Clang style-check plugin will check for this soon. No functionality change: virtual is only added to destructors that are already implicitly virtual. Also fix a couple of in-line destructor definitions. BUG=83408 TEST=none Review URL: http://codereview.chromium.org/7064033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86587 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir and scoped_native_library back from base/memory to base.thakis@chromium.org2011-05-191-1/+1
| | | | | | | | | | | It looks like they got moved accidentally in http://codereview.chromium.org/6714032 BUG=none TEST=none Review URL: http://codereview.chromium.org/7048007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
* Revert of 85854 which is a revert of 85852 - Add a command line optionrtenneti@chromium.org2011-05-191-0/+1
| | | | | | | | | | | | | | | ("host-resolver-retry-attempts") to specify the number of retry attempts to resolve host. Relanding CL http://codereview.chromium.org/7011044/ BUG=82580 TEST=host resolver unit tests TBR=eroman Review URL: http://codereview.chromium.org/7011044 Review URL: http://codereview.chromium.org/7029050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85871 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85852 - Add a command line option ("host-resolver-retry-attempts")rtenneti@chromium.org2011-05-191-1/+0
| | | | | | | | | | | | | | | to specify the number of retry attempts to resolve host. BUG=82580 TEST=host resolver unit tests R=eroman Review URL: http://codereview.chromium.org/7011044 TBR=rtenneti@chromium.org Review URL: http://codereview.chromium.org/7044027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85854 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line option ("host-resolver-retry-attempts")rtenneti@chromium.org2011-05-191-0/+1
| | | | | | | | | | | | to specify the number of retry attempts to resolve host. BUG=82580 TEST=host resolver unit tests R=eroman Review URL: http://codereview.chromium.org/7011044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85852 0039d316-1c4b-4281-b951-d872f2087c98
* Created an IPC method to enable the cloud print proxy using robot OAuth2 ↵sanjeevr@chromium.org2011-05-136-48/+133
| | | | | | | | | | | | | | | credentials. Used this method in the browser. This will be used by the new login scheme for Cloud Print. BUG=None TEST=None Review URL: http://codereview.chromium.org/6969055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85337 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the name of the Cloudprint XMPP channel to cloudprint.google.com.sanjeevr@chromium.org2011-05-121-7/+1
| | | | | | | | | BUG=None TEST=Cloud print connector notifications Review URL: http://codereview.chromium.org/6973006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85147 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of net::CookiePolicy, now that all code that uses it (except ↵jam@chromium.org2011-05-122-2/+0
| | | | | | | | | WebSocketJob, which appears to be unused and which I updated in this cl) is switched over to use ContentBrowserClient. BUG=76793 Review URL: http://codereview.chromium.org/6973011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85136 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Include stringprintf.h where appropriate, part 3.jhawkins@chromium.org2011-05-121-23/+25
| | | | | | | | | | | BUG=82098 TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/7016011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85088 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Include stringprintf.h where appropriate, part 2.jhawkins@chromium.org2011-05-114-7/+10
| | | | | | | | | | | BUG=82098 TEST=none R=thakis@chromium.org Review URL: http://codereview.chromium.org/7004007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85048 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the IPC between the browser and the service process to return more ↵sanjeevr@chromium.org2011-05-114-26/+23
| | | | | | | | | | detailed information about the cloud print proxy. This is a first step towards the new login mechanism for Cloud Print. BUG=None TEST=Unit-tests, enabling disabling cloud print proxy Review URL: http://codereview.chromium.org/7001012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85038 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the Remoting Host component from Chrome.wez@chromium.org2011-05-108-474/+2
| | | | | | | | | | | | | | | | | | | | | | | | * Update the Remoting feature flag description. * Fix license headers. * Remove files from gyp definitions. * Remove Chromoting trigger for Service Process launch on browser startup, and Chromoting setup HTML resources. * Remove Chromoting Host registration components from Browser. * Remove resources for Chromoting Host options UI. * Remove Service Process control APIs for Chromoting Host. * Remove Chromoting Host prefs from Browser UI. * Remove WebUI for Chromoting Host. * Remove WebUI options for Chromoting Host. * Remove Chromoting Host policy options, and don't warn if Chromoting is entirely disabled by policy, since there are no user-visible settings for it anyway. * Remove Chromoting Host preference names, service IPCs and URL constants. * Remove Chromoting Host from Service Process. * Remove remoting strings, locale settings and setup "Id". BUG= TEST=Run Service Process from a profile in which Chromoting Host had previously been configured, and Cloud Print NOT configured. Chromoting Host should not be accessible, and Service Process should quit after about a minute. Review URL: http://codereview.chromium.org/6955010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84819 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Use callback_old.h where appropriate, part 2.jhawkins@chromium.org2011-05-101-1/+1
| | | | | | | | | | | BUG=none TEST=none R=thakis@chromium.org Review URL: http://codereview.chromium.org/6995007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84753 0039d316-1c4b-4281-b951-d872f2087c98
* Changed the cloud print connector logic to request the OAuth2 credentials of ↵sanjeevr@chromium.org2011-05-0621-176/+580
| | | | | | | | | | | | a robot account and use those credentials for all cloud print and Talk authentication. The OAuth2 tokens are also periodically refreshed. BUG=None TEST=Unit-tests, Cloud Print connector. R=scottbyer@chromium.org Review URL: http://codereview.chromium.org/6705013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84525 0039d316-1c4b-4281-b951-d872f2087c98
* net: Move ResponseCookies into the net namespace.tfarina@chromium.org2011-05-067-13/+13
| | | | | | | | | | | BUG=81612 TEST=None R=wtc@chromium.org,willchan@chromium.org Review URL: http://codereview.chromium.org/6932025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84375 0039d316-1c4b-4281-b951-d872f2087c98
* Mark job as error if we failed to fetch job data from the server after ↵gene@google.com2011-05-052-1/+33
| | | | | | | | | | | | several tries. Do not retry on 415 error, because request will never succeed (as per discussion with Abhijit) BUG=none TEST=Verify proxy marks jobs as Error, if we failed to convert on server side. Review URL: http://codereview.chromium.org/6901159 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84283 0039d316-1c4b-4281-b951-d872f2087c98
* Add HostObserverInterface and decouple HeartbeatSender and ChromotingHost.sergeyu@chromium.org2011-05-031-0/+11
| | | | | | | | | BUG=None TEST=Everything still works. Review URL: http://codereview.chromium.org/6911024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83951 0039d316-1c4b-4281-b951-d872f2087c98
* Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. ↵jam@chromium.org2011-05-021-1/+1
| | | | | | | | This allows us to remove usage of the IOThread object, and generally makes IPC::ChannelProxy more robust for future uses. Review URL: http://codereview.chromium.org/6901146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83741 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Linux proxy.scottbyer@chromium.org2011-04-282-34/+24
| | | | | | | | | | | | | | | Somewhere along the way, the proxy service creation code got more strict and the fragile earlier fix broke. This is much more correct and consistent across platforms. Create the proxy config service on the UI thread, create the proxy service itself on the IO thread. BUG=none TEST=start up the linux proxy, it works again. Check windows, still works. Check Mac, still works. Review URL: http://codereview.chromium.org/6905046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83350 0039d316-1c4b-4281-b951-d872f2087c98
* Stop refcounting ProxyService.willchan@chromium.org2011-04-272-29/+32
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6873096 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83222 0039d316-1c4b-4281-b951-d872f2087c98
* Undo raw DNS resolver changes, this will be implemented differently, on ↵agayev@chromium.org2011-04-271-1/+1
| | | | | | | | | | | IO-thread. BUG=60149 TEST=None Review URL: http://codereview.chromium.org/6893007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83177 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Fix some style issues in the printing code. Fix misuse of scoped_ptr.csilv@chromium.org2011-04-211-1/+1
| | | | | | | | | | Patch created by arthurhsu@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/6880092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82523 0039d316-1c4b-4281-b951-d872f2087c98
* Disabled polling for jobs when we lose XMPP connection. This behavior can be ↵sanjeevr@chromium.org2011-04-153-17/+31
| | | | | | | | | | overridden with a pref switch. BUG=None TEST=Cloud Print proxy notifications Review URL: http://codereview.chromium.org/6853024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81704 0039d316-1c4b-4281-b951-d872f2087c98
* Move crypto files out of base, to a top level directory.rvargas@google.com2011-04-141-1/+0
| | | | | | | | | | | | | src/crypto is now an independent project that contains our cryptographic primitives (except md5 and sha1). This removes the base dependency from nss, openssl and sqlite. BUG=76996 TEST=none Review URL: http://codereview.chromium.org/6805019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81611 0039d316-1c4b-4281-b951-d872f2087c98
* Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h.tfarina@chromium.org2011-04-121-10/+7
| | | | | | | | | | | | | | | | | Fix up all the callers to use the new location and namespace. Also, delete the stub file since it isn't included by anyone more. (Note: This was a TODO for brettw). BUG=None TEST=None R=brettw@chromium.org Review URL: http://codereview.chromium.org/6825055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81303 0039d316-1c4b-4281-b951-d872f2087c98
* Changed jingle to use the IO thread from the passed in ↵sanjeevr@chromium.org2011-04-071-3/+6
| | | | | | | | | | URLRequestContextGetter for doing its I/O rather than creating its own worker thread. BUG=None TEST=Unit-tests, Cloud print notifications, sync notifications. Review URL: http://codereview.chromium.org/6793047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80853 0039d316-1c4b-4281-b951-d872f2087c98
* Move sync notifier contruction out of syncer thread.nileshagrawal@chromium.org2011-04-071-0/+1
| | | | | | | | | | | | | Add thread safety checks to ensure that all the methods are called on the same thread. BUG= TEST= Review URL: http://codereview.chromium.org/6794005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80724 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80459 - Mark CloudPrintURLFetcherOverloadTest.Protect as flaky.twiz@chromium.org2011-04-051-2/+1
| | | | | | | | | | | | | | This test was crashing, so marking it as flaky will not stop the tests from terminating early due to the crash. BUG=78440 TEST=CloudPrintURLFetcherOverloadTest.Protect TBR=joi@chromium.org Review URL: http://codereview.chromium.org/6693092 TBR=twiz@chromium.org Review URL: http://codereview.chromium.org/6792052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80467 0039d316-1c4b-4281-b951-d872f2087c98
* Mark CloudPrintURLFetcherOverloadTest.Protect as flaky.twiz@chromium.org2011-04-051-1/+2
| | | | | | | | | BUG=78440 TEST=CloudPrintURLFetcherOverloadTest.Protect TBR=joi@chromium.org Review URL: http://codereview.chromium.org/6693092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80459 0039d316-1c4b-4281-b951-d872f2087c98
* Make a default timeout for CUPS fetching more sutable for consumers.gene@google.com2011-03-311-7/+30
| | | | | | | | | | Added functionality and flag to propagate delete notifications. BUG=none TEST=Verify delete notifications are working on Linux/Mac. Review URL: http://codereview.chromium.org/6759040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80094 0039d316-1c4b-4281-b951-d872f2087c98
* Moved URLRequestContextGetter to net/ so it can be used by projects such as ↵sanjeevr@chromium.org2011-03-314-7/+7
| | | | | | | | | | jingle. BUG=None TEST=Build. Review URL: http://codereview.chromium.org/6778025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80033 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Pass parameters by reference.jhawkins@chromium.org2011-03-284-9/+9
| | | | | | | | | | | | CID=6820,8735,11066,11067,11070,11071,11072,11073,11215,11216,11217,11927,12403 BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/6730040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79602 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-2816-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Add an opt-out header for HTTP throttling. Never throttle for localhost.joi@chromium.org2011-03-251-9/+10
| | | | | | | | | | | | | | | | | Added net::IsLocalhost() function to net/base/net_utils.h Unit tests for the above. Also fix flakiness in the ReceivedContentMalformed test that was caused by non-zero jitter. Modify back-off policy to ignore first 4 errors to help avoid back-off from erroneously kicking in on flaky connections. Make maximum back-off period 15 minutes instead of 60. Added documentation of results of analyzing behavior this new policy will give. Add a simple server for manual testing of the throttling feature. BUG=66062 TEST=net_unittests Review URL: http://codereview.chromium.org/6711046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79464 0039d316-1c4b-4281-b951-d872f2087c98
* Let PrefStore::GetValue return a const Value* instead of Value* and add ↵battre@chromium.org2011-03-253-10/+10
| | | | | | | | | | | PersistentPrefStore::GetMutableValue BUG=none TEST=none Review URL: http://codereview.chromium.org/6713099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79413 0039d316-1c4b-4281-b951-d872f2087c98
* Submitting Jamie's quick fix to run headless service (see issue 6722025).gene@google.com2011-03-241-1/+14
| | | | | | | | | | | This should fix Cloud Print proxy. TBR=jamiewalch@chromium.org,hclam@chromium.org,dmaclach@chromium.org,sanjeevr@chromium.org,ajwong@chromium.org,scottbyer@chromium.org BUG=76991 TEST=Run "chrome --type=service" without a DISPLAY set. Review URL: http://codereview.chromium.org/6696047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79242 0039d316-1c4b-4281-b951-d872f2087c98
* [Jingle] Refactored some notifier-related structs/classesakalin@chromium.org2011-03-221-5/+2
| | | | | | | | | | | | Moved ServerInformation into its own header and added ServerList typedef. Added notifier_options_util.{h,cc}. BUG=None Review URL: http://codereview.chromium.org/6708076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79026 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup NativeMetafile (win) interface and EMF class.vandebo@chromium.org2011-03-223-14/+13
| | | | | | | | | | | | | | | | | - Rename CreateDc to Init() and remove unused argument (all non-test calls were CreateDc(NULL, NULL). [This matches cross platform interface.] - Remove CreateFileBackedDc from the NativeMetafile interface and make InitToFile() in the EMF class. - Remove CreateFromFile from the NativeMetafile interface and make it InitFromFile() in the EMF class. - Move the CloseEmf method into the destructor, making the Emf class a use once class (matches actual use). BUG=NONE TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78666 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78669 Review URL: http://codereview.chromium.org/6695013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78969 0039d316-1c4b-4281-b951-d872f2087c98
* Getting service process on Mac to handle having things moved/changed ↵dmaclach@chromium.org2011-03-224-16/+35
| | | | | | | | | | | underneath it. BUG=74983 TEST=See http://code.google.com/p/chromium/issues/detail?id=74983#c16 Review URL: http://codereview.chromium.org/6660001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78967 0039d316-1c4b-4281-b951-d872f2087c98
* Move app/app_switches to ui/gfx/gl/gl_switches.backer@chromium.org2011-03-211-1/+0
| | | | | | | | | | | | | This is in preparation of moving app/gfx/gl to ui/gfx/gl. All of the switches in app_switches are GL related. Removed many includes that were unnecessary. BUG=none TEST=trybots Review URL: http://codereview.chromium.org/6685089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78875 0039d316-1c4b-4281-b951-d872f2087c98
* Renaming NativeMetafile related methods to more appropriate names.dpapad@chromium.org2011-03-191-1/+1
| | | | | | | | | | | | 1) Renaming Close() to FinishDocument() 2) Renaming NativeMetafileFactory::CreateMetafile() to Create(), since the name of the class already implies what is being created BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6674037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78788 0039d316-1c4b-4281-b951-d872f2087c98