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

Side by Side Diff: chrome/browser/dom_ui/bug_report_ui.cc

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | « chrome/browser/cancelable_request.cc ('k') | chrome/browser/dom_ui/dom_ui_screenshot_source.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/dom_ui/bug_report_ui.h" 5 #include "chrome/browser/dom_ui/bug_report_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "app/win/win_util.h" 44 #include "app/win/win_util.h"
45 #endif 45 #endif
46 46
47 #if defined(TOOLKIT_VIEWS) 47 #if defined(TOOLKIT_VIEWS)
48 #include "views/window/window.h" 48 #include "views/window/window.h"
49 #endif 49 #endif
50 50
51 #if defined(OS_CHROMEOS) 51 #if defined(OS_CHROMEOS)
52 #include "base/file_util.h" 52 #include "base/file_util.h"
53 #include "base/path_service.h" 53 #include "base/path_service.h"
54 #include "base/waitable_event.h" 54 #include "base/synchronization/waitable_event.h"
55 #include "chrome/browser/chromeos/cros/cros_library.h" 55 #include "chrome/browser/chromeos/cros/cros_library.h"
56 #include "chrome/browser/chromeos/cros/syslogs_library.h" 56 #include "chrome/browser/chromeos/cros/syslogs_library.h"
57 #include "chrome/browser/chromeos/login/user_manager.h" 57 #include "chrome/browser/chromeos/login/user_manager.h"
58 #endif 58 #endif
59 59
60 namespace { 60 namespace {
61 61
62 const char kScreenshotBaseUrl[] = "chrome://screenshots/"; 62 const char kScreenshotBaseUrl[] = "chrome://screenshots/";
63 const char kCurrentScreenshotUrl[] = "chrome://screenshots/current"; 63 const char kCurrentScreenshotUrl[] = "chrome://screenshots/current";
64 #if defined(OS_CHROMEOS) 64 #if defined(OS_CHROMEOS)
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 BugReportUIHTMLSource* html_source = 809 BugReportUIHTMLSource* html_source =
810 new BugReportUIHTMLSource(handler->Init()); 810 new BugReportUIHTMLSource(handler->Init());
811 // Set up the chrome://bugreport/ source. 811 // Set up the chrome://bugreport/ source.
812 BrowserThread::PostTask( 812 BrowserThread::PostTask(
813 BrowserThread::IO, FROM_HERE, 813 BrowserThread::IO, FROM_HERE,
814 NewRunnableMethod( 814 NewRunnableMethod(
815 ChromeURLDataManager::GetInstance(), 815 ChromeURLDataManager::GetInstance(),
816 &ChromeURLDataManager::AddDataSource, 816 &ChromeURLDataManager::AddDataSource,
817 make_scoped_refptr(html_source))); 817 make_scoped_refptr(html_source)));
818 } 818 }
OLDNEW
« no previous file with comments | « chrome/browser/cancelable_request.cc ('k') | chrome/browser/dom_ui/dom_ui_screenshot_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698