Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(535)

Side by Side Diff: chrome/renderer/render_thread.cc

Issue 21272: janitorial: browser_render_process_host header/lint cleanup. (try 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if defined(OS_WIN) 5 #if defined(OS_WIN)
6 #include <windows.h> 6 #include <windows.h>
7 #include <objbase.h>
7 #endif 8 #endif
8 #include <algorithm> 9 #include <algorithm>
9 10
10 #include "chrome/renderer/render_thread.h" 11 #include "chrome/renderer/render_thread.h"
11 12
12 #include "base/shared_memory.h" 13 #include "base/shared_memory.h"
13 #include "chrome/common/chrome_plugin_lib.h" 14 #include "chrome/common/chrome_plugin_lib.h"
14 #include "chrome/common/ipc_logging.h" 15 #include "chrome/common/ipc_logging.h"
15 #include "chrome/common/render_messages.h" 16 #include "chrome/common/render_messages.h"
16 #include "chrome/common/notification_service.h" 17 #include "chrome/common/notification_service.h"
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 void RenderThread::InformHostOfCacheStatsLater() { 283 void RenderThread::InformHostOfCacheStatsLater() {
283 // Rate limit informing the host of our cache stats. 284 // Rate limit informing the host of our cache stats.
284 if (!cache_stats_factory_->empty()) 285 if (!cache_stats_factory_->empty())
285 return; 286 return;
286 287
287 MessageLoop::current()->PostDelayedTask(FROM_HERE, 288 MessageLoop::current()->PostDelayedTask(FROM_HERE,
288 cache_stats_factory_->NewRunnableMethod( 289 cache_stats_factory_->NewRunnableMethod(
289 &RenderThread::InformHostOfCacheStats), 290 &RenderThread::InformHostOfCacheStats),
290 kCacheStatsDelayMS); 291 kCacheStatsDelayMS);
291 } 292 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698