OLD | NEW |
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/nacl_host/nacl_browser.h" | 5 #include "chrome/browser/nacl_host/nacl_browser.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/pickle.h" | 11 #include "base/pickle.h" |
12 #include "base/string_split.h" | 12 #include "base/strings/string_split.h" |
13 #include "base/win/windows_version.h" | 13 #include "base/win/windows_version.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "chrome/common/chrome_paths.h" | 15 #include "chrome/common/chrome_paths.h" |
16 #include "chrome/common/chrome_paths_internal.h" | 16 #include "chrome/common/chrome_paths_internal.h" |
17 #include "chrome/common/chrome_switches.h" | 17 #include "chrome/common/chrome_switches.h" |
18 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
19 #include "extensions/common/url_pattern.h" | 19 #include "extensions/common/url_pattern.h" |
20 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
21 | 21 |
22 namespace { | 22 namespace { |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 // because it can degrade the responsiveness of the browser. | 464 // because it can degrade the responsiveness of the browser. |
465 // The task is sequenced so that multiple writes happen in order. | 465 // The task is sequenced so that multiple writes happen in order. |
466 content::BrowserThread::PostBlockingPoolSequencedTask( | 466 content::BrowserThread::PostBlockingPoolSequencedTask( |
467 kValidationCacheSequenceName, | 467 kValidationCacheSequenceName, |
468 FROM_HERE, | 468 FROM_HERE, |
469 base::Bind(WriteCache, validation_cache_file_path_, | 469 base::Bind(WriteCache, validation_cache_file_path_, |
470 base::Owned(pickle))); | 470 base::Owned(pickle))); |
471 } | 471 } |
472 validation_cache_is_modified_ = false; | 472 validation_cache_is_modified_ = false; |
473 } | 473 } |
OLD | NEW |