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

Side by Side Diff: cloud_print/service/win/cloud_print_service_config.cc

Issue 23514018: Add Reset to ScopedClosureRunner. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android fix 2 Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « cloud_print/service/win/cloud_print_service.cc ('k') | content/browser/gpu/gpu_process_host.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <atlbase.h> 5 #include <atlbase.h>
6 #include <atlapp.h> // NOLINT 6 #include <atlapp.h> // NOLINT
7 7
8 #include "base/at_exit.h" 8 #include "base/at_exit.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h"
10 #include "base/command_line.h" 11 #include "base/command_line.h"
11 #include "base/file_util.h" 12 #include "base/file_util.h"
12 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
13 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
14 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
15 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
16 #include "cloud_print/common/win/cloud_print_utils.h" 17 #include "cloud_print/common/win/cloud_print_utils.h"
17 #include "cloud_print/resources.h" 18 #include "cloud_print/resources.h"
18 #include "cloud_print/service/service_state.h" 19 #include "cloud_print/service/service_state.h"
19 #include "cloud_print/service/win/chrome_launcher.h" 20 #include "cloud_print/service/win/chrome_launcher.h"
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 scoped_refptr<SetupDialog> dialog(new SetupDialog()); 443 scoped_refptr<SetupDialog> dialog(new SetupDialog());
443 dialog->Create(NULL); 444 dialog->Create(NULL);
444 dialog->ShowWindow(SW_SHOW); 445 dialog->ShowWindow(SW_SHOW);
445 scoped_ptr<SetupDialog::MessageFilter> filter( 446 scoped_ptr<SetupDialog::MessageFilter> filter(
446 new SetupDialog::MessageFilter(dialog)); 447 new SetupDialog::MessageFilter(dialog));
447 loop.SetMessageFilter(filter.Pass()); 448 loop.SetMessageFilter(filter.Pass());
448 449
449 loop.Run(); 450 loop.Run();
450 return 0; 451 return 0;
451 } 452 }
OLDNEW
« no previous file with comments | « cloud_print/service/win/cloud_print_service.cc ('k') | content/browser/gpu/gpu_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698