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

Side by Side Diff: chrome/browser/browser_about_handler.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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/browser_about_handler.h" 5 #include "chrome/browser/browser_about_handler.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/thread_task_runner_handle.h" 14 #include "base/threading/thread_task_runner_handle.h"
15 #include "build/build_config.h" 15 #include "build/build_config.h"
16 #include "chrome/browser/lifetime/application_lifetime.h" 16 #include "chrome/browser/lifetime/application_lifetime.h"
17 #include "chrome/browser/ui/browser_dialogs.h" 17 #include "chrome/browser/ui/browser_dialogs.h"
18 #include "chrome/common/chrome_features.h" 18 #include "chrome/common/chrome_features.h"
19 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
20 #include "chrome/common/url_constants.h" 20 #include "chrome/common/url_constants.h"
21 #include "components/url_formatter/url_fixer.h" 21 #include "components/url_formatter/url_fixer.h"
22 22
23 bool FixupBrowserAboutURL(GURL* url, 23 bool FixupBrowserAboutURL(GURL* url,
24 content::BrowserContext* browser_context) { 24 content::BrowserContext* browser_context) {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 FROM_HERE, base::Bind(&chrome::AttemptRestart)); 128 FROM_HERE, base::Bind(&chrome::AttemptRestart));
129 return true; 129 return true;
130 } else if (base::LowerCaseEqualsASCII(spec, chrome::kChromeUIQuitURL)) { 130 } else if (base::LowerCaseEqualsASCII(spec, chrome::kChromeUIQuitURL)) {
131 base::ThreadTaskRunnerHandle::Get()->PostTask( 131 base::ThreadTaskRunnerHandle::Get()->PostTask(
132 FROM_HERE, base::Bind(&chrome::AttemptExit)); 132 FROM_HERE, base::Bind(&chrome::AttemptExit));
133 return true; 133 return true;
134 } 134 }
135 135
136 return false; 136 return false;
137 } 137 }
OLDNEW
« no previous file with comments | « chrome/browser/banners/app_banner_data_fetcher_browsertest.cc ('k') | chrome/browser/browser_process_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698