| OLD | NEW |
| 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/chromeos/plugin_selection_policy.h" | 5 #include "chrome/browser/chromeos/plugin_selection_policy.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <iostream> | 8 #include <iostream> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <sstream> | 10 #include <sstream> |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/auto_reset.h" | 14 #include "base/auto_reset.h" |
| 15 #include "base/file_path.h" | 15 #include "base/file_path.h" |
| 16 #include "base/file_util.h" | 16 #include "base/file_util.h" |
| 17 #include "base/logging.h" | 17 #include "base/logging.h" |
| 18 #include "base/string_util.h" | 18 #include "base/string_util.h" |
| 19 #include "chrome/browser/browser_thread.h" | 19 #include "content/browser/browser_thread.h" |
| 20 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
| 21 | 21 |
| 22 #if !defined(OS_CHROMEOS) | 22 #if !defined(OS_CHROMEOS) |
| 23 #error This file is meant to be compiled on ChromeOS only. | 23 #error This file is meant to be compiled on ChromeOS only. |
| 24 #endif | 24 #endif |
| 25 | 25 |
| 26 using std::vector; | 26 using std::vector; |
| 27 using std::string; | 27 using std::string; |
| 28 using std::pair; | 28 using std::pair; |
| 29 using std::map; | 29 using std::map; |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 } | 161 } |
| 162 return allow; | 162 return allow; |
| 163 } | 163 } |
| 164 | 164 |
| 165 // If it's not in the policy file, then we assume it's OK to allow | 165 // If it's not in the policy file, then we assume it's OK to allow |
| 166 // it. | 166 // it. |
| 167 return true; | 167 return true; |
| 168 } | 168 } |
| 169 | 169 |
| 170 } // namespace chromeos | 170 } // namespace chromeos |
| OLD | NEW |