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

Side by Side Diff: chrome/browser/policy/test/local_policy_test_server.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_BROWSER_POLICY_TEST_LOCAL_POLICY_TEST_SERVER_H_ 5 #ifndef CHROME_BROWSER_POLICY_TEST_LOCAL_POLICY_TEST_SERVER_H_
6 #define CHROME_BROWSER_POLICY_TEST_LOCAL_POLICY_TEST_SERVER_H_ 6 #define CHROME_BROWSER_POLICY_TEST_LOCAL_POLICY_TEST_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 // 73 //
74 // This only works when the server serves from a temporary directory. 74 // This only works when the server serves from a temporary directory.
75 bool UpdatePolicyData(const std::string& type, 75 bool UpdatePolicyData(const std::string& type,
76 const std::string& entity_id, 76 const std::string& entity_id,
77 const std::string& data); 77 const std::string& data);
78 78
79 // Gets the service URL. 79 // Gets the service URL.
80 GURL GetServiceURL() const; 80 GURL GetServiceURL() const;
81 81
82 // net::LocalTestServer: 82 // net::LocalTestServer:
83 virtual bool SetPythonPath() const OVERRIDE; 83 virtual bool SetPythonPath() const override;
84 virtual bool GetTestServerPath( 84 virtual bool GetTestServerPath(
85 base::FilePath* testserver_path) const OVERRIDE; 85 base::FilePath* testserver_path) const override;
86 virtual bool GenerateAdditionalArguments( 86 virtual bool GenerateAdditionalArguments(
87 base::DictionaryValue* arguments) const OVERRIDE; 87 base::DictionaryValue* arguments) const override;
88 88
89 private: 89 private:
90 std::string GetSelector(const std::string& type, 90 std::string GetSelector(const std::string& type,
91 const std::string& entity_id); 91 const std::string& entity_id);
92 92
93 base::FilePath config_file_; 93 base::FilePath config_file_;
94 base::FilePath policy_key_; 94 base::FilePath policy_key_;
95 base::DictionaryValue clients_; 95 base::DictionaryValue clients_;
96 base::ScopedTempDir server_data_dir_; 96 base::ScopedTempDir server_data_dir_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(LocalPolicyTestServer); 98 DISALLOW_COPY_AND_ASSIGN(LocalPolicyTestServer);
99 }; 99 };
100 100
101 } // namespace policy 101 } // namespace policy
102 102
103 #endif // CHROME_BROWSER_POLICY_TEST_LOCAL_POLICY_TEST_SERVER_H_ 103 #endif // CHROME_BROWSER_POLICY_TEST_LOCAL_POLICY_TEST_SERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/policy/schema_registry_service_factory.h ('k') | chrome/browser/policy/url_blacklist_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698