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

Side by Side Diff: chrome/browser/chromeos/app_mode/kiosk_session_plugin_handler.cc

Issue 1547093002: Switch to standard integer types in chrome/browser/chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "chrome/browser/chromeos/app_mode/kiosk_session_plugin_handler.h" 5 #include "chrome/browser/chromeos/app_mode/kiosk_session_plugin_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/macros.h"
11 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
12 #include "base/time/time.h" 13 #include "base/time/time.h"
13 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
14 #include "chrome/browser/chromeos/app_mode/kiosk_session_plugin_handler_delegate .h" 15 #include "chrome/browser/chromeos/app_mode/kiosk_session_plugin_handler_delegate .h"
15 #include "content/public/browser/web_contents_observer.h" 16 #include "content/public/browser/web_contents_observer.h"
16 17
17 namespace chromeos { 18 namespace chromeos {
18 19
19 namespace { 20 namespace {
20 21
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 if (it == watchers_.end()) 121 if (it == watchers_.end())
121 return; 122 return;
122 123
123 watchers_.weak_erase(it); 124 watchers_.weak_erase(it);
124 125
125 // Schedule the delete later after |observer|'s WebContentsDestroyed finishes. 126 // Schedule the delete later after |observer|'s WebContentsDestroyed finishes.
126 base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, observer); 127 base::ThreadTaskRunnerHandle::Get()->DeleteSoon(FROM_HERE, observer);
127 } 128 }
128 129
129 } // namespace chromeos 130 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/app_mode/kiosk_profile_loader.cc ('k') | chrome/browser/chromeos/app_mode/startup_app_launcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698