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/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
12 #include "base/pickle.h" | 12 #include "base/pickle.h" |
13 #include "base/rand_util.h" | 13 #include "base/rand_util.h" |
14 #include "base/strings/string_split.h" | 14 #include "base/strings/string_split.h" |
15 #include "base/win/windows_version.h" | 15 #include "base/win/windows_version.h" |
16 #include "build/build_config.h" | 16 #include "build/build_config.h" |
17 #include "content/public/browser/browser_thread.h" | 17 #include "content/public/browser/browser_thread.h" |
18 #include "extensions/common/url_pattern.h" | 18 #include "extensions/common/url_pattern.h" |
19 #include "url/gurl.h" | 19 #include "url/gurl.h" |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
569 // because it can degrade the responsiveness of the browser. | 569 // because it can degrade the responsiveness of the browser. |
570 // The task is sequenced so that multiple writes happen in order. | 570 // The task is sequenced so that multiple writes happen in order. |
571 content::BrowserThread::PostBlockingPoolSequencedTask( | 571 content::BrowserThread::PostBlockingPoolSequencedTask( |
572 kValidationCacheSequenceName, | 572 kValidationCacheSequenceName, |
573 FROM_HERE, | 573 FROM_HERE, |
574 base::Bind(WriteCache, validation_cache_file_path_, | 574 base::Bind(WriteCache, validation_cache_file_path_, |
575 base::Owned(pickle))); | 575 base::Owned(pickle))); |
576 } | 576 } |
577 validation_cache_is_modified_ = false; | 577 validation_cache_is_modified_ = false; |
578 } | 578 } |
OLD | NEW |