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

Side by Side Diff: chrome/browser/infobars/infobar_responder.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
« no previous file with comments | « chrome/browser/image_decoder.cc ('k') | chrome/browser/interests/interests_fetcher_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/infobars/infobar_responder.h" 5 #include "chrome/browser/infobars/infobar_responder.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "chrome/browser/infobars/infobar_service.h" 11 #include "chrome/browser/infobars/infobar_service.h"
12 #include "components/infobars/core/confirm_infobar_delegate.h" 12 #include "components/infobars/core/confirm_infobar_delegate.h"
13 #include "components/infobars/core/infobar.h" 13 #include "components/infobars/core/infobar.h"
14 14
15 InfoBarResponder::InfoBarResponder(InfoBarService* infobar_service, 15 InfoBarResponder::InfoBarResponder(InfoBarService* infobar_service,
16 AutoResponseType response) 16 AutoResponseType response)
17 : infobar_service_(infobar_service), response_(response) { 17 : infobar_service_(infobar_service), response_(response) {
18 infobar_service_->AddObserver(this); 18 infobar_service_->AddObserver(this);
19 } 19 }
20 20
(...skipping 25 matching lines...) Expand all
46 delegate->Accept(); 46 delegate->Accept();
47 break; 47 break;
48 case DENY: 48 case DENY:
49 delegate->Cancel(); 49 delegate->Cancel();
50 break; 50 break;
51 case DISMISS: 51 case DISMISS:
52 delegate->InfoBarDismissed(); 52 delegate->InfoBarDismissed();
53 break; 53 break;
54 } 54 }
55 } 55 }
OLDNEW
« no previous file with comments | « chrome/browser/image_decoder.cc ('k') | chrome/browser/interests/interests_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698