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

Side by Side Diff: chrome/browser/background/background_contents_service.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/background/background_contents_service.h" 5 #include "chrome/browser/background/background_contents_service.h"
6 6
7 #include "apps/app_load_service.h" 7 #include "apps/app_load_service.h"
8 #include "base/basictypes.h"
9 #include "base/bind.h" 8 #include "base/bind.h"
10 #include "base/command_line.h" 9 #include "base/command_line.h"
11 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
12 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/macros.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/prefs/pref_service.h" 15 #include "base/prefs/pref_service.h"
16 #include "base/prefs/scoped_user_pref_update.h" 16 #include "base/prefs/scoped_user_pref_update.h"
17 #include "base/single_thread_task_runner.h" 17 #include "base/single_thread_task_runner.h"
18 #include "base/strings/string_util.h" 18 #include "base/strings/string_util.h"
19 #include "base/strings/utf_string_conversions.h" 19 #include "base/strings/utf_string_conversions.h"
20 #include "base/thread_task_runner_handle.h" 20 #include "base/thread_task_runner_handle.h"
21 #include "base/time/time.h" 21 #include "base/time/time.h"
22 #include "base/values.h" 22 #include "base/values.h"
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 bool user_gesture, 783 bool user_gesture,
784 bool* was_blocked) { 784 bool* was_blocked) {
785 Browser* browser = chrome::FindLastActiveWithProfile( 785 Browser* browser = chrome::FindLastActiveWithProfile(
786 Profile::FromBrowserContext(new_contents->GetBrowserContext()), 786 Profile::FromBrowserContext(new_contents->GetBrowserContext()),
787 chrome::GetActiveDesktop()); 787 chrome::GetActiveDesktop());
788 if (browser) { 788 if (browser) {
789 chrome::AddWebContents(browser, NULL, new_contents, disposition, 789 chrome::AddWebContents(browser, NULL, new_contents, disposition,
790 initial_rect, user_gesture, was_blocked); 790 initial_rect, user_gesture, was_blocked);
791 } 791 }
792 } 792 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698