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

Side by Side Diff: chrome/browser/supervised_user/supervised_user_interstitial.cc

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/supervised_user/supervised_user_interstitial.h" 5 #include "chrome/browser/supervised_user/supervised_user_interstitial.h"
6 6
7 #include <stddef.h>
8
7 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
8 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
9 #include "base/prefs/pref_service.h" 11 #include "base/prefs/pref_service.h"
10 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
12 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
13 #include "base/values.h" 15 #include "base/values.h"
16 #include "build/build_config.h"
14 #include "chrome/browser/browser_process.h" 17 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/infobars/infobar_service.h" 18 #include "chrome/browser/infobars/infobar_service.h"
16 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/supervised_user/supervised_user_service.h" 20 #include "chrome/browser/supervised_user/supervised_user_service.h"
18 #include "chrome/browser/supervised_user/supervised_user_service_factory.h" 21 #include "chrome/browser/supervised_user/supervised_user_service_factory.h"
19 #include "chrome/common/features.h" 22 #include "chrome/common/features.h"
20 #include "chrome/common/pref_names.h" 23 #include "chrome/common/pref_names.h"
21 #include "chrome/grit/generated_resources.h" 24 #include "chrome/grit/generated_resources.h"
22 #include "components/infobars/core/infobar.h" 25 #include "components/infobars/core/infobar.h"
23 #include "components/infobars/core/infobar_delegate.h" 26 #include "components/infobars/core/infobar_delegate.h"
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 supervised_user_service->RemoveObserver(this); 405 supervised_user_service->RemoveObserver(this);
403 406
404 if (!callback_.is_null()) 407 if (!callback_.is_null())
405 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, 408 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE,
406 base::Bind(callback_, continue_request)); 409 base::Bind(callback_, continue_request));
407 410
408 // After this, the WebContents may be destroyed. Make sure we don't try to use 411 // After this, the WebContents may be destroyed. Make sure we don't try to use
409 // it again. 412 // it again.
410 web_contents_ = NULL; 413 web_contents_ = NULL;
411 } 414 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698