GuestView: Cleanup
commit4a5c599932ad9f004ad8c62bf71fc812b994797f
authorfsamuel <fsamuel@chromium.org>
Tue, 20 Jan 2015 19:21:49 +0000 (20 11:21 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 20 Jan 2015 19:22:53 +0000 (20 19:22 +0000)
treece6964a129dd8f93f0257bea7286ea0f11709122
parent87f458906d9fb18e31ab051cd2e182550f1e15af
GuestView: Cleanup

This CL uses the new C++11 auto keyword to improve readability of GuestView code. There are two main ways auto is being used in this CL:

1. Iterators. It is verbose to specify the type of an iterator that's fairly self-evident, so we avoid that now.
2. *::From* calls. Some objects are accessible via IDs or some other key. It is self-evident the return type in this case and so it is reasonable to use auto here as well.

BUG=none

Review URL: https://codereview.chromium.org/857043002

Cr-Commit-Position: refs/heads/master@{#312242}
content/browser/browser_plugin/browser_plugin_guest.cc
content/renderer/browser_plugin/browser_plugin.cc
extensions/browser/guest_view/guest_view_base.cc
extensions/browser/guest_view/guest_view_base.h
extensions/browser/guest_view/guest_view_manager.cc
extensions/browser/guest_view/web_view/web_view_guest.cc