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

Side by Side Diff: content/gpu/gpu_watchdog_thread.cc

Issue 6684015: Move chrome\gpu to content\gpu. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 | « content/gpu/gpu_watchdog_thread.h ('k') | content/gpu/media/fake_gl_video_decode_engine.h » ('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) 2011 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 #if defined(OS_WIN) 5 #if defined(OS_WIN)
6 #include <windows.h> 6 #include <windows.h>
7 #endif 7 #endif
8 8
9 #include "chrome/gpu/gpu_watchdog_thread.h" 9 #include "content/gpu/gpu_watchdog_thread.h"
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 13
14 namespace { 14 namespace {
15 const int64 kCheckPeriod = 2000; 15 const int64 kCheckPeriod = 2000;
16 16
17 void DoNothing() { 17 void DoNothing() {
18 } 18 }
19 } 19 }
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 #endif 234 #endif
235 235
236 LOG(ERROR) << "The GPU process hung. Terminating after " 236 LOG(ERROR) << "The GPU process hung. Terminating after "
237 << timeout_ << " ms."; 237 << timeout_ << " ms.";
238 238
239 volatile int* null_pointer = NULL; 239 volatile int* null_pointer = NULL;
240 *null_pointer = timeout; 240 *null_pointer = timeout;
241 241
242 crashed = true; 242 crashed = true;
243 } 243 }
OLDNEW
« no previous file with comments | « content/gpu/gpu_watchdog_thread.h ('k') | content/gpu/media/fake_gl_video_decode_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698