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

Side by Side Diff: content/browser/frame_host/navigation_entry_screenshot_manager.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "content/browser/frame_host/navigation_entry_screenshot_manager.h" 5 #include "content/browser/frame_host/navigation_entry_screenshot_manager.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/macros.h"
8 #include "base/threading/worker_pool.h" 9 #include "base/threading/worker_pool.h"
9 #include "content/browser/frame_host/navigation_controller_impl.h" 10 #include "content/browser/frame_host/navigation_controller_impl.h"
10 #include "content/browser/frame_host/navigation_entry_impl.h" 11 #include "content/browser/frame_host/navigation_entry_impl.h"
11 #include "content/browser/renderer_host/render_view_host_impl.h" 12 #include "content/browser/renderer_host/render_view_host_impl.h"
12 #include "content/public/browser/overscroll_configuration.h" 13 #include "content/public/browser/overscroll_configuration.h"
13 #include "content/public/browser/render_widget_host.h" 14 #include "content/public/browser/render_widget_host.h"
14 #include "content/public/browser/render_widget_host_view.h" 15 #include "content/public/browser/render_widget_host_view.h"
15 #include "content/public/common/content_switches.h" 16 #include "content/public/common/content_switches.h"
16 #include "ui/gfx/codec/png_codec.h" 17 #include "ui/gfx/codec/png_codec.h"
17 18
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 NavigationEntryImpl* entry = owner_->GetEntryAtIndex(forward); 247 NavigationEntryImpl* entry = owner_->GetEntryAtIndex(forward);
247 if (ClearScreenshot(entry)) 248 if (ClearScreenshot(entry))
248 --screenshot_count; 249 --screenshot_count;
249 ++forward; 250 ++forward;
250 } 251 }
251 CHECK_GE(screenshot_count, 0); 252 CHECK_GE(screenshot_count, 0);
252 CHECK_LE(screenshot_count, kMaxScreenshots); 253 CHECK_LE(screenshot_count, kMaxScreenshots);
253 } 254 }
254 255
255 } // namespace content 256 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/frame_host/navigation_entry_screenshot_manager.h ('k') | content/browser/frame_host/navigation_handle_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698