diff options
author | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-12 19:48:15 +0000 |
---|---|---|
committer | hans@chromium.org <hans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-12 19:48:15 +0000 |
commit | d5b04b8351b3a757bbaeb3bc0b56a374a049826f (patch) | |
tree | 7ae66fc8e2bc4f5655f32236eb8e81218d95fbfd | |
parent | b688b283185dfaba7209b0306b2a2f200154563c (diff) | |
download | chromium_src-d5b04b8351b3a757bbaeb3bc0b56a374a049826f.zip chromium_src-d5b04b8351b3a757bbaeb3bc0b56a374a049826f.tar.gz chromium_src-d5b04b8351b3a757bbaeb3bc0b56a374a049826f.tar.bz2 |
Add newlines to the end of files where they were missing
This fixes warnings from a recent Clang version.
BUG=290204
TBR=thakis
Review URL: https://chromiumcodereview.appspot.com/23484036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222838 0039d316-1c4b-4281-b951-d872f2087c98
22 files changed, 23 insertions, 21 deletions
diff --git a/base/barrier_closure.cc b/base/barrier_closure.cc index 65e9c086..5abe2bf 100644 --- a/base/barrier_closure.cc +++ b/base/barrier_closure.cc @@ -49,4 +49,4 @@ base::Closure BarrierClosure(int num_callbacks_left, new BarrierInfo(num_callbacks_left, done_closure))); } -} // namespace base
\ No newline at end of file +} // namespace base diff --git a/base/barrier_closure.h b/base/barrier_closure.h index 2fb870f..b1204d8 100644 --- a/base/barrier_closure.h +++ b/base/barrier_closure.h @@ -27,4 +27,4 @@ BASE_EXPORT base::Closure BarrierClosure(int num_closures, } // namespace base -#endif // BASE_BARRIER_CLOSURE_H_
\ No newline at end of file +#endif // BASE_BARRIER_CLOSURE_H_ diff --git a/base/test/parallel_test_launcher.h b/base/test/parallel_test_launcher.h index 4eb40dd..5e3ee2a 100644 --- a/base/test/parallel_test_launcher.h +++ b/base/test/parallel_test_launcher.h @@ -85,4 +85,4 @@ class ParallelTestLauncher { } // namespace base -#endif // BASE_TEST_PARALLEL_TEST_LAUNCHER_H_
\ No newline at end of file +#endif // BASE_TEST_PARALLEL_TEST_LAUNCHER_H_ diff --git a/base/test/power_monitor_test_base.h b/base/test/power_monitor_test_base.h index 95b530e..6e37f3d 100644 --- a/base/test/power_monitor_test_base.h +++ b/base/test/power_monitor_test_base.h @@ -52,4 +52,4 @@ class PowerMonitorTestObserver : public PowerObserver { } // namespace base -#endif // BASE_TEST_POWER_MONITOR_TEST_BASE_H_
\ No newline at end of file +#endif // BASE_TEST_POWER_MONITOR_TEST_BASE_H_ diff --git a/base/test/unit_test_launcher.h b/base/test/unit_test_launcher.h index ceac298..53ac07c 100644 --- a/base/test/unit_test_launcher.h +++ b/base/test/unit_test_launcher.h @@ -19,4 +19,4 @@ int LaunchUnitTests(int argc, } // namespace base -#endif // BASE_TEST_UNIT_TEST_LAUNCHER_H_
\ No newline at end of file +#endif // BASE_TEST_UNIT_TEST_LAUNCHER_H_ diff --git a/chrome/browser/extensions/extension_fullscreen_apitest.cc b/chrome/browser/extensions/extension_fullscreen_apitest.cc index 38463f8..46eb09c 100644 --- a/chrome/browser/extensions/extension_fullscreen_apitest.cc +++ b/chrome/browser/extensions/extension_fullscreen_apitest.cc @@ -54,4 +54,4 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, GURL(), FEB_TYPE_BROWSER_FULLSCREEN_EXIT_INSTRUCTION); ASSERT_TRUE(RunExtensionTest("window_update/sizing")) << message_; ASSERT_FALSE(browser()->window()->IsFullscreen()); -}
\ No newline at end of file +} diff --git a/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm b/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm index 3af5003..3db2e8c 100644 --- a/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm +++ b/chrome/browser/ui/cocoa/bookmarks/bookmark_sync_promo_controller_unittest.mm @@ -31,4 +31,4 @@ TEST_F(BookmarkSyncPromoControllerTest, SignInLink) { EXPECT_EQ(starting_tab_count + 1, tab_count); } -} // namespace
\ No newline at end of file +} // namespace diff --git a/chrome/test/chromedriver/cpp_source.py b/chrome/test/chromedriver/cpp_source.py index 582f0bf..50eb919 100644 --- a/chrome/test/chromedriver/cpp_source.py +++ b/chrome/test/chromedriver/cpp_source.py @@ -43,6 +43,7 @@ def WriteSource(base_name, '\n'.join(externs), '', '#endif // ' + define]) + header += '\n' with open(os.path.join(output_dir, base_name + '.h'), 'w') as f: f.write(header) @@ -67,6 +68,7 @@ def WriteSource(base_name, '#include "%s"' % (dir_from_src + '/' + base_name + '.h'), '', '\n'.join(definitions)]) + cc += '\n' with open(os.path.join(output_dir, base_name + '.cc'), 'w') as f: f.write(cc) diff --git a/content/browser/power_monitor_message_broadcaster.cc b/content/browser/power_monitor_message_broadcaster.cc index 77abcb9..23de161 100644 --- a/content/browser/power_monitor_message_broadcaster.cc +++ b/content/browser/power_monitor_message_broadcaster.cc @@ -36,4 +36,4 @@ void PowerMonitorMessageBroadcaster::OnResume() { sender_->Send(new PowerMonitorMsg_Resume()); } -} // namespace content
\ No newline at end of file +} // namespace content diff --git a/content/browser/power_monitor_message_broadcaster.h b/content/browser/power_monitor_message_broadcaster.h index f0e3a20..04af601 100644 --- a/content/browser/power_monitor_message_broadcaster.h +++ b/content/browser/power_monitor_message_broadcaster.h @@ -38,4 +38,4 @@ class CONTENT_EXPORT PowerMonitorMessageBroadcaster } // namespace base -#endif // CONTENT_BROWSER_POWER_MONITOR_MESSAGE_BROADCASTER_H_
\ No newline at end of file +#endif // CONTENT_BROWSER_POWER_MONITOR_MESSAGE_BROADCASTER_H_ diff --git a/content/child/appcache/appcache_backend_proxy.h b/content/child/appcache/appcache_backend_proxy.h index 467d385..0f3ab2d 100644 --- a/content/child/appcache/appcache_backend_proxy.h +++ b/content/child/appcache/appcache_backend_proxy.h @@ -51,4 +51,4 @@ class AppCacheBackendProxy : public appcache::AppCacheBackend { } // namespace content -#endif // CONTENT_CHILD_APPCACHE_APPCACHE_BACKEND_PROXY_H_
\ No newline at end of file +#endif // CONTENT_CHILD_APPCACHE_APPCACHE_BACKEND_PROXY_H_ diff --git a/content/child/child_resource_message_filter.h b/content/child/child_resource_message_filter.h index df820d6..2f3d30f 100644 --- a/content/child/child_resource_message_filter.h +++ b/content/child/child_resource_message_filter.h @@ -45,4 +45,4 @@ class ChildResourceMessageFilter : public IPC::ChannelProxy::MessageFilter { } // namespace content -#endif // CONTENT_CHILD_CHILD_RESOURCE_MESSAGE_FILTER_H_
\ No newline at end of file +#endif // CONTENT_CHILD_CHILD_RESOURCE_MESSAGE_FILTER_H_ diff --git a/content/renderer/pepper/audio_helper.cc b/content/renderer/pepper/audio_helper.cc index 0dae997..018f780 100644 --- a/content/renderer/pepper/audio_helper.cc +++ b/content/renderer/pepper/audio_helper.cc @@ -84,4 +84,4 @@ void AudioHelper::SetCreateCallback( create_callback_ = create_callback; } -} // namespace content
\ No newline at end of file +} // namespace content diff --git a/media/base/audio_hash.cc b/media/base/audio_hash.cc index 0ed6fe5..28f1641 100644 --- a/media/base/audio_hash.cc +++ b/media/base/audio_hash.cc @@ -50,4 +50,4 @@ std::string AudioHash::ToString() const { return result; } -} // namespace media
\ No newline at end of file +} // namespace media diff --git a/media/base/audio_hash.h b/media/base/audio_hash.h index 3dc0e9e..91d6edf 100644 --- a/media/base/audio_hash.h +++ b/media/base/audio_hash.h @@ -56,4 +56,4 @@ class MEDIA_EXPORT AudioHash { } // namespace media -#endif // MEDIA_BASE_AUDIO_HASH_H_
\ No newline at end of file +#endif // MEDIA_BASE_AUDIO_HASH_H_ diff --git a/media/base/audio_hash_unittest.cc b/media/base/audio_hash_unittest.cc index ee1b1de..bdc5a2c 100644 --- a/media/base/audio_hash_unittest.cc +++ b/media/base/audio_hash_unittest.cc @@ -164,4 +164,4 @@ TEST_F(AudioHashTest, VerifySimilarHash) { EXPECT_NE(hash_one.ToString(), hash_three.ToString()); } -} // namespace media
\ No newline at end of file +} // namespace media diff --git a/media/base/scoped_histogram_timer_unittest.cc b/media/base/scoped_histogram_timer_unittest.cc index b8893f9..47e228e 100644 --- a/media/base/scoped_histogram_timer_unittest.cc +++ b/media/base/scoped_histogram_timer_unittest.cc @@ -13,4 +13,4 @@ TEST(ScopedHistogramTimer, TwoTimersOneScope) { SCOPED_UMA_HISTOGRAM_TIMER("TestTimer1"); } -} // namespace media
\ No newline at end of file +} // namespace media diff --git a/ppapi/host/message_filter_host.cc b/ppapi/host/message_filter_host.cc index 78ebd23..1ef6244 100644 --- a/ppapi/host/message_filter_host.cc +++ b/ppapi/host/message_filter_host.cc @@ -23,4 +23,4 @@ MessageFilterHost::~MessageFilterHost() { } } // namespace host -} // namespace ppapi
\ No newline at end of file +} // namespace ppapi diff --git a/ppapi/proxy/url_loader_resource.cc b/ppapi/proxy/url_loader_resource.cc index 5bbc937..b2e8d6d 100644 --- a/ppapi/proxy/url_loader_resource.cc +++ b/ppapi/proxy/url_loader_resource.cc @@ -389,4 +389,4 @@ size_t URLLoaderResource::FillUserBuffer() { } } // namespace proxy -} // namespace ppapi
\ No newline at end of file +} // namespace ppapi diff --git a/ppapi/proxy/url_loader_resource.h b/ppapi/proxy/url_loader_resource.h index 685ccfe..f4a80da 100644 --- a/ppapi/proxy/url_loader_resource.h +++ b/ppapi/proxy/url_loader_resource.h @@ -143,4 +143,4 @@ class PPAPI_PROXY_EXPORT URLLoaderResource } // namespace proxy } // namespace ppapi -#endif // PPAPI_PROXY_URL_LOADER_RESOURCE_H_
\ No newline at end of file +#endif // PPAPI_PROXY_URL_LOADER_RESOURCE_H_ diff --git a/ppapi/tests/test_trace_event.cc b/ppapi/tests/test_trace_event.cc index b58bf9b..58f23a6 100644 --- a/ppapi/tests/test_trace_event.cc +++ b/ppapi/tests/test_trace_event.cc @@ -62,4 +62,4 @@ std::string TestTraceEvent::TestClock() { } PASS(); -}
\ No newline at end of file +} diff --git a/remoting/host/audio_silence_detector.h b/remoting/host/audio_silence_detector.h index 4bc686e..83beec3 100644 --- a/remoting/host/audio_silence_detector.h +++ b/remoting/host/audio_silence_detector.h @@ -39,4 +39,4 @@ class AudioSilenceDetector { } // namespace remoting -#endif // REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_
\ No newline at end of file +#endif // REMOTING_HOST_AUDIO_SILENCE_DETECTOR_H_ |