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 #ifndef CHROME_FRAME_UTILS_H_ | 5 #ifndef CHROME_FRAME_UTILS_H_ |
6 #define CHROME_FRAME_UTILS_H_ | 6 #define CHROME_FRAME_UTILS_H_ |
7 | 7 |
8 #include <OAidl.h> | 8 #include <OAidl.h> |
9 #include <windows.h> | 9 #include <windows.h> |
10 #include <wininet.h> | 10 #include <wininet.h> |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/lock.h" | 16 #include "base/lock.h" |
17 #include "base/logging.h" | 17 #include "base/logging.h" |
18 #include "base/metrics/histogram.h" | 18 #include "base/metrics/histogram.h" |
19 #include "base/thread.h" | 19 #include "base/threading/thread.h" |
20 #include "base/win/scoped_comptr.h" | 20 #include "base/win/scoped_comptr.h" |
21 #include "gfx/rect.h" | 21 #include "gfx/rect.h" |
22 #include "googleurl/src/gurl.h" | 22 #include "googleurl/src/gurl.h" |
23 | 23 |
24 class FilePath; | 24 class FilePath; |
25 interface IBrowserService; | 25 interface IBrowserService; |
26 | 26 |
27 // utils.h : Various utility functions and classes | 27 // utils.h : Various utility functions and classes |
28 | 28 |
29 extern const wchar_t kChromeContentPrefix[]; | 29 extern const wchar_t kChromeContentPrefix[]; |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 // | 609 // |
610 // The string is first interpreted using ';' as a delimiter. It is reevaluated | 610 // The string is first interpreted using ';' as a delimiter. It is reevaluated |
611 // using ',' iff no valid 'chrome=' value is found. | 611 // using ',' iff no valid 'chrome=' value is found. |
612 bool CheckXUaCompatibleDirective(const std::string& directive, | 612 bool CheckXUaCompatibleDirective(const std::string& directive, |
613 int ie_major_version); | 613 int ie_major_version); |
614 | 614 |
615 // Returns the version of the current module as a string. | 615 // Returns the version of the current module as a string. |
616 std::wstring GetCurrentModuleVersion(); | 616 std::wstring GetCurrentModuleVersion(); |
617 | 617 |
618 #endif // CHROME_FRAME_UTILS_H_ | 618 #endif // CHROME_FRAME_UTILS_H_ |
OLD | NEW |